To unsubscribe from Apple Music do the following: Open Apple Music app on your iphone/ipad Hit the account icon in the top left corner Choose “View Apple ID” Choose “Manage” under subscriptions Click the switch to “Off” under auto renewal
You can set an image to the UINavigationbar in Xcode for iPhone like this: UINavigationBar *navBar = [[self navigationController] navigationBar]; UIImage *backgroundImage = [UIImage imageNamed:@”nav-bar-background-normal”]; [navBar setBackgroundImage:backgroundImage forBarMetrics:UIBarMetricsDefault]; Works from iOS 5 and up.
To set the text of a back button on a UINavigationBar you can set it like this for you iPhone app: UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle: @”Back Button Text” style: UIBarButtonItemStyleBordered target: nil action: nil]; [self.navigationItem setBackBarButtonItem: backButton]; [backButton release]; Further information
When you upload your binary to iTunes after distribution your app in Xcode, you might have found a mistake and want to delete and upload a new binary. This is possible in iTunes. iTunes Connect -> Manage Your Applications -> Select the App -> View Details Under Links select Binary Details and press “Reject This […]
If you want to add iPhone 5 dimension remember to update to the newest iOS 6 sdk. When you compile you might run into this error first, Xcode Missing Retina 4 Launch Image. To enable your apps to work with iPhone 5, you need to add a retina version of the launcher image. It should be […]
Unable to update iOS 6.0 software can occurred because of severals issues. Either Apples server are busy or bad network while you’re on OTA (Wireless Communication). Software Update Failed. An Error occurred downloading iOS 6. You can try to update via iTunes. If this also fails your error says something like this: The iPhone “iPhone” […]
To get the dimensions of the iPhone or iPad screen you can do the following in xcode: CGRect screenRect = [[UIScreen mainScreen] bounds]; CGFloat screenWidth = screenRect.size.width; CGFloat screenHeight = screenRect.size.height;
A quick way of taking a Screen shot in the iPhone simulator instead of using cmd + 3 etc. go to File -> Save Screen Shot or Cmd + S. Remember to have the simulator selected so you get the correct menu. The image will be save on the desktop on your mac.
The Simulator in Xcode does not run Retina by default. You can switch to Retina by going to Hardware -> Device -> iPhone (Retina) Remember to have the simulator in front and not Xcode or the menu will be wrong.
When developing in iPhone in Xcode and you change an image it might not be updated when you run it on your device or simulator as it’s still use the old image. The error can be caused by different factor but can be solved by doing some or all of these steps. Uninstall the app […]