点击登录按钮,跳转到登录的ViewController,为什么我的不跳转呢,帮忙看下
- (IBAction)btnLoginClick {
LoginViewController *loginView = [[LoginViewController alloc] initWithNibName:@"LoginViewController" bundle:nil];
//UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:loginView];
//[self.navigationController presentModalViewController:nav animated:YES];
//[self.navigationController pushViewController:loginView animated:YES];
[self.navigationController presentModalViewController:loginView animated:YES];
//[nav release];
[loginView release];
NSLog(@"aaa");
}注释掉的我也试过 都不行,还是没动静,控制台输出了 aaa
...全文
相关推荐
iOS应用开发中实现页面跳转的简单方法笔记
主要介绍了iOS应用开发中实现页面跳转的简单方法笔记,代码基于传统的Objective-C,需要的朋友可以参考下
iOS+PHP注册登录系统 iOS部分(下)
主要介绍了iOS+PHP注册登录系统的iOS部分,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
ios-MVVM登录页面.zip
用 ReactiveCocoa框架实现的 MVVM 构架,讲业务逻辑更多的写到 ViewModel 里边,实现了 ViewController 的减负.
iOS引导登录功能的简单实现
iOS引导登录功能的简单实现
ADF应用如何进行注销
jdeveloper构建的应用,请用11.1.1.3进行构建的 博文链接:https://redhacker.iteye.com/blog/1093280


