Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone){
- UIStoryboard *storyBoard;
- CGSize result = [[UIScreen mainScreen] bounds].size;
- CGFloat scale = [UIScreen mainScreen].scale;
- result = CGSizeMake(result.width * scale, result.height * scale);
- if(result.height == 960){
- storyBoard = [UIStoryboard storyboardWithName:@"3inchstoryboard" bundle:nil];
- UIViewController *initViewController = [storyBoard instantiateInitialViewController];
- [self.window setRootViewController:initViewController];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement