Last active
November 28, 2016 21:58
-
-
Save DonMag/43657939795769b87145f6920d0fa2e0 to your computer and use it in GitHub Desktop.
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
| case "record": | |
| self.flagAutoRecord = true | |
| if let tabBarController = self.window!.rootViewController as? UITabBarController { | |
| if tabBarController.selectedIndex == 2 { | |
| let vc = tabBarController.selectedViewController as! DictateViewController | |
| vc.performSelector(#selector(DictateViewController.buttonMic(_:)), withObject: nil, afterDelay: 0.1) | |
| } else { | |
| tabBarController.selectedIndex = 2 //main Dictate screen | |
| } | |
| } | |
| break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment