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
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
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]
).