Skip to content

Instantly share code, notes, and snippets.

@MikeTradr
Created November 28, 2016 20:50
Show Gist options
  • Save MikeTradr/fe56ae9c35973ff28f248089fc0a75e5 to your computer and use it in GitHub Desktop.
Save MikeTradr/fe56ae9c35973ff28f248089fc0a75e5 to your computer and use it in GitHub Desktop.
case "record":
flagAutoRecord = true
defaults.setObject(flagAutoRecord, forKey: "flagAutoRecord") //sets flagAutoRecord for processing
print("p339 we in here? query: \(query)")
if let tabBarController = self.window!.rootViewController as? UITabBarController {
tabBarController.selectedIndex = 2 //main Dictate screen
//DictateViewController.sharedInstance.record()
}
@DonMag
Copy link

DonMag commented Nov 28, 2016

	case "record":
		
		self.flagAutoRecord = true
		if let tabBarController = self.window!.rootViewController as? UITabBarController {
			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