您可以UIView像这样拍摄快照:
迅速
let snapshot = view.snapshotView(afterScreenUpdates: true)
目标C
UIView *snapshot = [view snapshotViewAfterScreenUpdates: YES];