拍一张快照
你可以从 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];