Created
January 20, 2014 15:20
-
-
Save eytanschulman/8521776 to your computer and use it in GitHub Desktop.
How to make UIActivityViewController not lag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[NSOperationQueue mainQueue] addOperationWithBlock:^{ | |
[self presentViewController:activityVC animated:YES completion:^{ | |
}]; | |
}]; |
Thank you
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
+1