I'm updating a button based on if I have local notifications set on my iOS app. I'd like to do this with KVO, as there are various ways notifications can be set so I won't be easily able to track when ...

I have a login for my app, so I need to conditionally set the keyWindow rootViewController based on if they have saved authentication. If there is authentication, show the tabBarController, if there ...

My Custom keyboard has presets for each screen resolution of all Apple devices. So I have iphone, iphon5, iphone6, iphone6plus and ipad presets.
But in case user runs iPhone app (like instagram) on ...

I have Xcode 6.1.1, and my app crashes on start up. It never reaches the start view (not even its awakeFromNib), but crashes on UIApplication on main. When it breaks there, I get NOTHING in the debug. ...

In my iOS application, I'm having a UITableView inside my UIViewController. After data loading completed to the UITableView, when I press the Home button of the iPhone, the application will enter to ...

I'm attempting to get Background App Refresh going in my iOS application. However, I'm having some trouble understanding code blocks.
I've done some research on it, and would say I have a beginner's ...

My app has many threads, so I do get lot of crashes when the same variable is updated and read at the same time.
To solve this issue I decided to use NSLock and lock it when the variables are updated ...

In my app I use background services so the method applicationWillTerminate: will not get called when the user terminated the app. Instead the method applicationDidEnterBackground: gets called when the ...

Basically, I have a timer set up in an uiapplication to check if the user is idle, and what I want to happen is that if the user is idle long enough, the viewcontroller on top will be the initial log ...

I have password option in my app, so if user sets a password, then I show a password page first when app becomes active and user should enter the password to use the app
I have written the code this ...

I would like to autologout my app incase if the user doesn't interact with it for five minutes just like web user session in websites.
I tried all over the internet I couldn't find anything useful.
...

Is it possible to access the settings app from your own app via a button or whatever it may be in iOS 8. I heard that it got decrepitude in iOS 5, is that true? If not did the method change in iOS 8? ...

I am making a jailbreak tweak and although it seems simple, I cannot figure out how to get an instance of any UIApplication. My goal is to get an instance of a UIApplication if it's already open or ...

I created a new project using swift as a programming language and i don't find a main.m as explained in keynote. How to specify a custom UIApplication class so that i can handle all sendEvent method's ...

with the following code i try to open a generated and saved KML file in Google Earth App.
Google Earth app opens but it do nothing.
When i send this file with email and open it with GE App it works ...

I know this question has been asked but I wanted to know if anything has changed to make this possible. I am trying to have my app receive a notification from MPMusicPlayer when a song is changed in ...

I want the cancel button of my UIAlertView to launch the app store so that my app can be updated. I can get the app to launch the app store, but I want it to launch only when the cancel button of my ...

I have a Subview that has a button, when tapped opens up the map and location. There is no error in code but once I get sent to Maps and get back to my app.. It opens Maps once again. So I guess the ...

I am trying to open a html file from my iPhone/iPad app particularly in Safari. I use openURL method of UIApplication after checking canOpenURL. I doubt if the link will always be opened in Safari. ...

I have an iPad survey tool as an internal enterprise application. I prevent screen locking with setting [[UIApplication sharedApplication] setIdleTimerDisabled: YES]; at didFinishLaunchingWithOptions ...