Post

Replies

Boosts

Views

Activity

Reply to Bug in UISplitViewController?
I would just like to come here and say thank you! We have... at least for our company and customers... a high profile app that's used twice a year for a week at a time. The above propose rewrite just would not be possible in the time left. When I checked the app post iOS 13 I did iPhone and a large iPad Pro as that was what was sitting arround. Imagine my shock when with two weeks left I load it up on my personal Mini and it doesn't work! My fault but you'd really expected them to work similar. Anyway your comment was the golden ticket until post event I can rewrite.-(UIViewController *)from:(UIStoryboard *)storyboard getVC:(NSString *)name{ UIViewController *vc = [storyboard instantiateViewControllerWithIdentifier:name]; // Deal with iOS 13 change and smaller iPads. if([vc isKindOfClass:[UISplitViewController class]]){ ((UISplitViewController *)vc).preferredDisplayMode = UISplitViewControllerDisplayModeAllVisible; } vc.tabBarItem = [self createMenuItem:name]; return vc;}Again, a big thanks you!
Jan ’20