Breaking News
Home / iOS (page 3)

iOS

How do you set a background image in UINavigationBar in iOS?

In order to set a background image for the navigation controller use the following code: // get handle to nav bar UINavigationBar *navBar = self.navigationController.navigationBar; // get imageUIImage *image = [UIImage imageNamed:@”backgroundImageToSet.png”]; // set the bg image[navBar setBackgroundImage:image]; in the viewWillAppear method. – (void)viewWillAppear:(BOOL)animated [pb_builder]

Read More »

Embedding Youtube Video in iPhone does not work

Issue Embedding Youtube Video in iOS app does not diplay the Youtube Video, instead there is any error display in the logs. Error *** WebKit discarding exception: <NSRangeException> *** -[__NSCFString substringToIndex:]: Range or index out of bounds Here is how the YouTube video url is created: NSString *url = [[NSString …

Read More »

Google Analytics Link Error in XCode

Adding Google Analytic library to the iOS project, the XCode project does not build anymore. It fails with the following error:Undefined symbols for architecture armv7:   “_OBJC_CLASS_$_NSFetchRequest”, referenced from:       objc-class-ref in libGoogleAnalytics.a(GAIDataStore.o)   “_OBJC_CLASS_$_NSManagedObject”, referenced from:       _OBJC_CLASS_$_GAIHit in libGoogleAnalytics.a(GAIHit.o)       _OBJC_CLASS_$_GAIProperty in libGoogleAnalytics.a(GAIProperty.o)   “_OBJC_CLASS_$_NSManagedObjectModel”, referenced from:       …

Read More »

How to remove an app from Sale in Appstore?

Solution In order to remove you app from SALE, you would have to log into Itunes Connect and then do the following   1. Go to “Manage Your Applications” and select the app that you want to remove from SALE.   2. Click on the  “Rights and Pricing” Button. This …

Read More »
Advertisment ad adsense adlogger