Can anyone give me the example code that I can use to first present a modal view controller, then dismiss it? This is what I have been trying:
NSLog(@\"%@\",
Swift
self.dismissViewControllerAnimated(true, completion: nil)