开发者

How to add UINavigationBar prompt in RootViewController of UISplitviewcontroller

开发者 https://www.devze.com 2023-02-26 15:25 出处:网络
How i can dynamically show UINavigationBar promp inRootViewController of UISplitviewcontroller Like : In my app delegate

How i can dynamically show UINavigationBar promp in RootViewController of UISplitviewcontroller

Like : In my app delegate

// having UINavigationController inside
UISplitViewController *recentEntrySplitViewConntroller;

NSArray *array = [NSArray arrayWithObjects:recentEntrySplitViewConntroller,controller2, nil];
tabBarController = [[UITabBarController alloc] init];

[self.window addSubview:[tabBarController view]];

so In viewDidLoad of RootViewController in开发者_如何转开发side UINavigationController of recentEntrySplitViewConntroller, how can i show UINavigationBar promp


self.navigationItem.prompt = @"My Prompt";
0

精彩评论

暂无评论...
验证码 换一张
取 消