Can someone please tell me how to take a snapshot from a listView?
First I thought that a screenshot will do the job, but sometimes the listView is bigger and it will be good to take a snapshot from it instead.
Can someone please tell me how to take a snapshot from a listView?
First I thought that a screenshot will do the job, but sometimes the listView is bigger and it will be good to take a snapshot from it instead.
You can take a snapshot from any UIView
like this:
let snapshot = myView.snapshotView(afterScreenUpdates: true)