UIAlertController在8以下不支持

加入以下内容进行版本判断
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8) { 
 
再添加 UIAlertController 的相关内容
要不然苹果8 以下的手机会运行不了

} else {

UIAlertView内容
}
posted @ 2016-01-03 18:41  挽月细数风流  阅读(105)  评论(0)    收藏  举报