错误代码:Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.
[Objective-C]
纯文本查看
复制代码
if
([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0) {
self
.modalPresentationStyle=UIModalPresentationOverCurrentContext;
}
|