is there a way to get the current UIView object, which i defined in
- (void)viewDidLoad
to use/change them in another method in the same .m file?
thanks
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.
There are a few options. One is to store the UIView in a variable for later access. Another is to give the UIView a unique tag (
view.tag) and grab it from its superview ([containerView viewWithTag:tag]).