在之前写的代码中出现 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 警告,是因为iOS8.0之后的适配问题,只需改为
[[UIApplication sharedApplication] statusBarOrientation]
搞定!!!
在之前写的代码中出现 'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 警告,是因为iOS8.0之后的适配问题,只需改为
[[UIApplication sharedApplication] statusBarOrientation]
搞定!!!