Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tombuarts

macrumors newbie
Original poster
Jan 30, 2010
15
0
I can't believe I'm having this much trouble with this, but here we go. I have a main view that displays a modal view when a button is pressed. When the modal view is dismissed, I would like it to tell the main view to execute a certain method contained in the main view. How do I pass this command between views?
 
You don't send commands between views. You pass messages to objects. I'd suggest giving the modal view controller a reference to the calling view controller allowing it to pass messages to it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.