I get an ‘Accessing unknown ‘view’ component of a property’ error, when I’m trying this:
if (self.newsViewController.view.superview == nil)
I have a synthesize and an import for NewsViewController. What I’m doing wrong?
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.
Unfortunately, SO won’t let me comment on your post, but if that:
@interface newsViewController : UIViewController {is actually copy & pasted, it might just be a typo (lowercase ‘n’ instead of uppercase in NewsViewController)?