Access IBOutlet from another ViewController
After read a lot of stuff about delegate concept, and a painfully session
of tests in the last four hours - I began use extern DataModel... to
change data between views in my app.
But for now I really need to access a UIImageView in a ViewController
without NavigationViewController.
As start point I had this question as example:
How do I set up a simple delegate to communicate between two view
controllers?
But I think his content is outdated since the quoted url as example in
wikipedia:
http://en.wikipedia.org/wiki/Delegation_pattern#Objective-C_example have
been excluded.
I'm using Storyboards and I've tried access the IBOutlet with restoration
id, tag id, extern... But with no luck :(
If I have FirstViewController and in SecondViewController I need to access
the UIImageView in the first one, how can I do this?
No comments:
Post a Comment