Taking a snapshot
suggest changeYou can take a snapshot from a UIView
like this:
Swift
let snapshot = view.snapshotView(afterScreenUpdates: true)
Objective-C
UIView *snapshot = [view snapshotViewAfterScreenUpdates: YES];
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents