shwq.net
当前位置:首页 >> ns DEprECAtED ios >>

ns DEprECAtED ios

如题,ios9开始 statusBarHidden 和 statusBarStyle 方法被弃用。苹果官方文档建议: @property(readwrite, nonatomic) UIStatusBarStyle statusBarStyle NS_DEPRECATED_IOS(2_0, 9_0, "Use -[UIViewController preferredStatusBarStyle]") __TV...

ios9开始 statusBarHidden 和 statusBarStyle 方法被弃用。苹果官方文档建议: @property(readwrite, nonatomic) UIStatusBarStyle statusBarStyle NS_DEPRECATED_IOS(2_0, 9_0, "Use -[UIViewController preferredStatusBarStyle]") __TVOS_PRO...

NS_CLASS_DEPRECATED_IOS(2_0, 9_0, "UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead") __TVOS_PROHIBITED @interface UIAlertView : UIView iOS9以后推荐用UIAlertController

把UITextAlignmentCenter改成NSTextAlignmentCenter,就不会出现这个提示了。而且一样是居中显示。

#import #import "AFNetworking.h" typedef void (^HttpSuccess)(id json); typedef void (^HttpFailure)(NSError *error); @interface Tool : NSObject + (void)postWithURL:(NSString *)url params:(NSDictionary *)params success:(HttpSucce...

网站首页 | 网站地图
All rights reserved Powered by www.shwq.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com