摘要:
原来iOS8增加了启动授权,需要用户同意下才能注册通知。添加如下代码:- (void)RegistNotificationSettings{ float sysVersion=[[UIDevice currentDevice]systemVersion].floatValue; if (... 阅读全文
摘要:
昨天有网友说我写的那段系统分享代码在iOS9上有warning,看下了原来ios8之后UIPopoverController被废弃了。新增加的UIPopoverPresentationController在控制PopView上更简单好用。下面是我修改之后的代码:1. 在app内以子视图方式打开其他a... 阅读全文
摘要:
UIView 属性@interface UIView : UIResponder// YES:能够跟用户进行交互@property(nonatomic,getter=isUserInteractionEnabled) BOOL userInteractionEnabled; // default ... 阅读全文