Created
September 2, 2018 12:51
-
-
Save KanshuYokoo/8c4e13aaa849be8754c97b7ba88330a3 to your computer and use it in GitHub Desktop.
ios swift; how to change view by code. *UI operations must be performed on the main thread's queue.
This file contains hidden or 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
DispatchQueue.main.async() { | |
[unowned self] in | |
self.performSegue(withIdentifier: "toSecond", sender: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment