0

Possible Duplicate:
UISplitViewController Master / Detail communication

For iPad i am using UISplitViewController,for phone i m using navigation controller,i am unable to find a common way to pass object from master to detail view controller.

Community
  • 1
  • 1
Ashwani
  • 378
  • 1
  • 3
  • 13
  • 4
    This question is asked many times already. Why not do a search? http://stackoverflow.com/questions/8770587/pass-values-between-master-and-detail http://stackoverflow.com/questions/8031238/uisplitviewcontroller-master-detail-communication – nhahtdh Jun 09 '12 at 18:07

1 Answers1

0

You're looking for what's called Delegation. Check here for my previous SO Answer and quick example , also includes a Link to Apple's Documentation on Delegates and Data Sources. Objective C View to Controller Communication

Hope this helps.

Community
  • 1
  • 1
skram
  • 5,314
  • 1
  • 22
  • 26