Last active
October 12, 2015 11:58
-
-
Save theand/4023628 to your computer and use it in GitHub Desktop.
#ObjectiveC get main view
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
UIWindow *window = [UIApplication sharedApplication].keyWindow; | |
ViewController *rootViewController = window.rootViewController; | |
DebugLog(@"%@", rootViewController.myWebView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment