Handling applicationDidBecomeActive – “How can a view controller respond to the app becoming Active?”

I have the UIApplicationDelegate protocol in my main AppDelegate.m class, with the applicationDidBecomeActive method defined. I want to call a method when the application returns from the background, but the method is in another view controller. How can I check which view controller is currently showing in the applicationDidBecomeActive method and then make a call … Read more

How can we programmatically detect which iOS version is device running on? [duplicate]

This question already has answers here: How to check iOS version? (36 answers) Closed 8 years ago. I want to check if the user is running the app on iOS less than 5.0 and display a label in the app. How do I detect which iOS is running on user’s device programmatically? Thanks! 10 Answers … Read more

Design for Facebook authentication in an iOS app that also accesses a secured web service

Goal: Allow a user to authentication with Facebook into an iOS application which requires access to a protected web service that I’m running. Assumptions: There is a native authentication (and registration) system in place for those users that opt not to use Facebook for sign in. Details: Assume we want to offer the option for … Read more