I wonder, how and when (viewDidLoad, viewWillAppear, viewDidAppear) can I get a UIViews frame size that was autoresized to fit its partent view?
I wonder, how and when (viewDidLoad, viewWillAppear, viewDidAppear) can I get a UIViews frame
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not clear from your question why you want it but I imagine it is to layout your sub views. Luckily Apple knew you would want to do that and implemented
-(void)layoutSubViewssee this: When is layoutSubviews called?