UIButton setFont fails on iPhone 2G iOS 3.1.3 -
Hi,
My tester is in iPhone 2 with 3G 3.1.3. The app crashes on this app on your phone:
- (zero) viewDidoadload {[Super Viewedload]; [Resume Game.titleLabel setFont: [UIFont fontWithName: @ "Old English Text MT" Size: 20.0]]; [StartNewGame.titleLabel set font: [UIFont fontWithName: @ "Old English Text MT" Size: 20.0]]; [Options.titleLabel setFont: [UIFont fontWithName: @ "Old English Text MT" Size: 20.0]]; } and interface:
@ interface puzzlewind controller: UIViewController {IBOutlet UIButton * resumeGame; IBOutlet UIButton * startNewGame; IBOutlet UIButton * option; } @property (nontomic, retten) ibotlet UIButton * resume game; @property (nontomic, retten) ibotlet UIButton * startNewGame; @protecti (nontomic, retten) IBOutlet UIButton * option; The font has been copied to the Resources folder and "Information. Plist" "The font provided by the application" is set correctly.
How can I correct any thoughts?
Best regards, according to Andrei
, custom font 3.2 Available This is most likely to fail your code on iOS 3.1.3 (or it was called back in the day - iPhone OS 3.1.3).
Comments
Post a Comment