문제

In viewDidLoad of my master view controller, I see if I'm logged in and if not, call the popover segue to get the login information with the loginButton as the sender.

Setting breakpoint, I see that the button's frame is at 600 for the x origin. If I hit the button manually (after everything has loaded), it's at 233 for the x origin. So after ViewDidLoad, there's some other stuff going on that will move the button.

What's the proper place to do the check and pop the login popover?

도움이 되었습니까?

해결책

The proper place for this is in viewDidAppear

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top