简体   繁体   中英

Iphone application crashes

由于这行代码,我的应用程序崩溃了

[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationPortrait animated:YES];

I have used your code in my applications, but i am not getting any crash in my all applications.

Can you put full method code?

And try clean your project , delete it from simulator and run it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM