开发者

Accessing ViewController loaded using presentModalViewController

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜