Blog Archives

Xcode UIToolbar Set Height Is Locked

The object in Xcode: UIToolbar is locked when using the Interface Builder at 44 px tall. You can easily change this programmably by using setFrame [myToolbar setFrame:CGRectMake(0,50,320,30)]; However you are able to do this in the Interface Builder as well

Posted in Uncategorized

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

Posted in Uncategorized Tagged with: , ,