How to develop or migrate apps for iPhone 5 screen resolution?

后端 未结 30 3240
醉话见心
醉话见心 2020-11-21 05:48

The new iPhone 5 display has a new aspect ratio and a new resolution (640 x 1136 pixels).

What is required to develop new or transition already existing applications

30条回答
  •  伪装坚强ぢ
    2020-11-21 05:55

    It's easy for migrating iPhone5 and iPhone4 through XIBs.........

    UIViewController *viewController3;
    if ([[UIScreen mainScreen] bounds].size.height == 568)
    {
        UIViewController *viewController3 = [[[mainscreenview alloc] initWithNibName:@"iphone5screen" bundle:nil] autorelease];               
    }    
    else
    {
         UIViewController *viewController3 = [[[mainscreenview alloc] initWithNibName:@"iphone4screen" bundle:nil] autorelease];
    }
    

提交回复
热议问题