I have the following code:
-(void) viewDidLoad{
LoginViewController *lvc = [[LoginViewController alloc] init];
[lvc setDelegate:self];
[self presentModalViewController:lvc animated:YES];
}
Is there a way to a开发者_如何学Goccess the view that has currently been loaded without expanding lvc's scope (i.e. turn into an instance variable)...
You can access it via:
self.modalViewController
精彩评论