Tag: iphone

How to unsubscribe Apple Music

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  

Tagged with: ,

Xcode Use Image On UINavigationbar

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.

Tagged with: , ,

Set The Text Of A Back Button On A UINavigationBar

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

Tagged with: , ,

iTunes Reject Binary Upload

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 ->

Tagged with: , , ,

Xcode Add iPhone 5 Dimension?

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

Tagged with: , ,

Unable To Update to iOS 6.0

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

Tagged with: , , , ,

Xcode Dimensions Of The Screen In iOS

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;

Tagged with: , , ,

iPhone Simulator Save Screen Shot

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

Tagged with: , ,

Xcode Simulator Retina

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.

Tagged with: , ,

Xcode Not Updating When Changing Image

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

Tagged with: , ,