Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to make UIActivityViewController not lag
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
[self presentViewController:activityVC animated:YES completion:^{
Copy link

AndrewSB commented Nov 6, 2015


Copy link

ijpe commented Oct 19, 2016

Thank you

Copy link

mickeyl commented Nov 16, 2017

How is that supposed to change anything for the good? The only effect this has is to run it in the next incarnation of the mainloop, i.e. even later than when you directly call it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment