拍一張快照
你可以從 UIView
拍攝快照,如下所示:
迅速
let snapshot = view.snapshotView(afterScreenUpdates: true)
Objective-C
UIView *snapshot = [view snapshotViewAfterScreenUpdates: YES];
你可以從 UIView
拍攝快照,如下所示:
let snapshot = view.snapshotView(afterScreenUpdates: true)
UIView *snapshot = [view snapshotViewAfterScreenUpdates: YES];