objective-c Questions
2
I am using Google Admobs with ad mediations in my iOS application.
It seems like there is battery draining issue because google ads are running even when app is in background.
Is there something th...
Billman asked 3/6, 2020 at 19:51
4
Solved
I have a toolbar with various options and some options should not be visible in some cases. I have already figured out a way to disable them in my application, using this callback:
- (BOOL) valid...
Gaikwar asked 10/2, 2011 at 22:2
5
Im working on an iOS project, which shows the customer number in a barcode. I had installed the framework ZXingObjC with CocoaPods, described in GitHub.
I can compile my Project without errors. I ...
Pimento asked 3/6, 2015 at 8:47
7
I have a navigation bar to which I have added right BarButton successfully. Both the NavigationBar and BarButton are created programmatically. Now according to my requirement I got to add two right...
Anthology asked 27/8, 2012 at 6:8
3
Solved
I have a very strange problem: "Can't find the type RCTResponseSenderBlock in scope." It's strange, because in one case it is there and in the other it doesn't, looks like a bug.
This is ...
Allynallys asked 23/10, 2020 at 13:47
7
Solved
I have colorA which is [UIColor blueColor], and colorB, which is [UIColor redColor]. Is this possible for me to render a [UIColor purple]? How can it be implemented? Thanks.
Millda asked 30/10, 2012 at 4:42
8
Solved
I am trying to use the "Autosave Expanded Items" feature. When I expand a group with its children and restart the application all children are collapsed again and I don't know why they won't stay e...
Voracity asked 11/9, 2014 at 14:3
4
I'm trying to do the union between two MKCoordinateRegion. Does anybody have an idea on how to do this?
Ionosphere asked 21/7, 2011 at 12:5
4
Solved
I have been following the Handmade Hero project where Casey Muratori creates a complete game engine from scratch without the use of libraries.
This engine is highly portable since it renders its ow...
Sophomore asked 4/8, 2016 at 13:25
5
Solved
I may be going about this wrong. So I have created a UITableView that essentially has a auto-layout trailing space set to the main view. I am creating a custom cell for this table so I drug on a pr...
Bale asked 4/6, 2015 at 2:1
3
Solved
I know that if I start an audio recording session in foreground, with Audio, Airplay, and Picture in Picture activated in Capabilities -> Background Modes; I am able to continue to record even in b...
Institutive asked 3/2, 2017 at 8:45
3
While trying to debug my view hierarchy, I get the following error:
Error: Unable to capture view hierarchy.
Details: No plist data for fetching view hierarchy: error evaluating expression “(id...
Scopoline asked 22/2, 2017 at 2:23
5
Solved
I'm reading the Assertions section in the Swift e-book and it looks like assertions work very similarly to their Objective-C counterparts. However, nowhere in the docs can I find anything about run...
Ger asked 4/6, 2014 at 12:49
7
Solved
I want to force user to use my own init method (for example -(id)initWithString:(NSString*)foo;) and not the basic [[myObject alloc]init];.
how can I do that?
Obstreperous asked 18/1, 2012 at 9:25
5
Solved
This is my view (controller) hierarchy:
UITabBarController (as the rootViewController of the app)
UINavigationController (as the viewController for one of the tabBar tabs)
UIViewController (as th...
Macruran asked 29/10, 2014 at 22:48
7
Solved
I'm using this piece of code to try to retrieve the last modified date of a file:
NSError *error = nil;
NSDictionary *attributes = [[NSFileManager defaultManager] attributesOfItemAtPath: myFilePat...
Petterson asked 21/11, 2012 at 16:19
7
Solved
I have a very simple UITableView that has worked just fine since iOS6....I have recently tried to make a new build going from iOS10-iOS11 and now I am getting this new NSInternalConsistency Excepti...
Zoba asked 9/12, 2017 at 2:28
4
Solved
I have printed a UITableviewCell's gesture in – tableView:didSelectRowAtIndexPath method in NSLog as
<UIScrollViewPanGestureRecognizer: 0x11e92080; state = Possible; cancelsTouchesInView = NO;...
Vassaux asked 27/11, 2013 at 11:0
6
I know how to create silent push notifications (with playing a sound file that is silent).
I would also like to send a push notification that doesn't vibrate phone.
When setting silent sound file ...
Vise asked 20/5, 2014 at 7:0
4
Solved
The Apple URL Scheme Reference gives a nice overview of a number of URL schemes you can use to open certain built-in apps with some parameters.
I know that this is not a complete list of all possi...
Help asked 15/5, 2012 at 10:36
2
Solved
I have a latitude/longitude decimal coordinates that I would like to convert to points that will fit within the area of the iPad coordinate system.
My code takes in a latitude/longitude coordinat...
Fye asked 20/4, 2013 at 19:16
5
I'm getting error while trying to run my app*. Xcode says "The request to open "com.arm-tab.firebase-test" failed. The request was denied by service delegate (SBMainWorkspace) for reason: Unspecifi...
Colloquial asked 22/9, 2016 at 17:57
4
Solved
I have a litle problem with saving a color in NSUserDefaults . In objective-c is easy :
-(NSColor *)colorForKey:(NSString *)key{
NSData *data;
NSColor *color;
data = [[NSUserDefaults standardUser...
Plumbo asked 20/10, 2014 at 11:15
4
Solved
In my application I need to use the Windows Azure services to store the data for that I am using this:http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-data-ios/ sdk for W...
Mozza asked 17/4, 2013 at 21:25
2
Solved
I have a code-base which consists of Swift top-layer which is meant to be public API and Objective-C "guts" and I need to wrap it up nicely into the iOS .framework so other developers can incorpora...
Fawnfawna asked 29/1, 2020 at 19:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.