IOS8 ipad presentViewController坑爹的crash问题
新app第二次提交被据了,apple报告仔细看,ipad才会出现的crash问题,经googlebaidu一番,真坑爹,在IOS8以上的ipad,这个处理一定要做(黑体):
//ios8 ipad
if activityController.respondsToSelector("popoverPresentationController"){
activityController.popoverPresentationController!.sourceView = self.view
}
评论