设置一个视图控制器为底部视图的方法

it2022-05-09  27

1.

#define kAppDelegate ((AppDelegate *)[[UIApplication sharedApplication]delegate])

 

2.

UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController:home];

kAppDelegate.window.rootViewController=nav;

转载于:https://www.cnblogs.com/Yun-Longcom/p/7261589.html


最新回复(0)