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

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
Hi All
In my iphone app, I have an XIB with associated UIViewController. The app needs a switching between two screens:
screen1: showing UIImagePickerController with camera ONLY
screen2- An MKMapView.
Both the screens have an overlying view containing that xib. The problem is that as camera screen only appears as modal, so how can we show the overlying screen to appear in both the screens [screen1 and scree2]. Also I do not want to duplicate the xib screen to appear in both screens as the xib screen has some dynamic data that needs a selection [a group of selection buttons]

Thanks
Arnieterm
 
Hi All
Able to solve the problem though don't know if that is a correct solution.
Added the common UIView to window and made RootViewController to inherit UIImagePickerController.
Now also able to push MapViewController.
Now the common view appears as floating in both UIImagePickerController and MapView
Still now I would like to know if this is a correct solution or not

Thanks
Arnieterm
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.