Breaking News
Home / iOS (page 5)


FBSession: an attempt was made reauthorize permissions on an unopened session

Issue When an attempt is made to Re-Authorize the Facebook session using the Facebook iOS SDK, the following exception is thrown. 2012-09-30 01:37:46.377 [7894:17c03] *** Terminating app due to uncaught exception ‘com.facebook.sdk:InvalidOperationException’, reason: ‘FBSession: an attempt was made reauthorize permissions on an unopened session’*** First throw call stack: Solution Make …

Read More »

What are the various Enums used by the Facebook iOS SDK?

The following are the various Enumeration defined and used by the Facebook iOS SDK. Please review these for full understanding of how the SDK behaves for various operations. /*  * Constants used by NSNotificationCenter for active session notification  */     /*! NSNotificationCenter name indicating that a new active session …

Read More »

Using Google Analytics in iPhone Application


This SDK provides developers with the capability to use Google Analytics to track iOS application usage. The SDK is packaged as a set of header files and a static library. Get started by adding the header files from the Library subdirectory (GAI.h, GAITracker.h, GAITransaction.h, and GAITransactionItem.h) and libGoogleAnalytics.a to your …

Read More »

What is the location of files under the Documents Directory for an iOS app?

Answer In Simulator /Users/<YOURUSER>/Library/Application Support/iPhone Simulator/<IOS-VERSION>/Applications/<APPID>/Documents/<your-file-name> YOURUSER – Username you are logged in as IOS-VERSION – The one you are running the app under ex. 6.0 APPID – A unique alphanumeric ID given to your app. Once you delete/clean your app it creates a new one. your-file-name  – The file …

Read More »
Advertisment ad adsense adlogger