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

medasmx

macrumors member
Original poster
Nov 9, 2008
89
0
what works… sampleTabBar5
1. create tabBar application
2. make 2 UIViewController classes
3. add view controllers to tab bar controller
4. in one view controller make an instance of the other view controller
5. in tab bar controller, control drag from one view controller to the other
6. creating instance of one view controller in other class allows to modify view in other class

what does not work…Tab
1. create tabBar application
2. as a tab bar controller with 2 elements, one will be navigation controller
3. tab controller has 2 view controllers, one is root view controller, second is another view controller
4. make third view controller, which is a detailView
5. create instance of view controller in the detail view, so that data entered in the detail view can update the other view controller

The second program runs without errors, but data does not update. On the first program it works fine.

This is to create a pharmacy-prescribing program. It has the ability to sign your name. The script will be emailed from the iPad camera.
 

Attachments

  • Tab.zip
    841.7 KB · Views: 104
  • sampleTabBar5.zip
    818.4 KB · Views: 62
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.