iOS: Can camera view be default view (scene)?
Usually, the design pattern I see everywhere is like this:
User is already on a view controller (VC1)
User wants to pick or capture an image
User either opens iOS camera (VC2) or photo library - usually using
presentModalViewController UIImagePickerController
From camera, he takes the picture, discards the camera view VC2 and shows
the image back on landing screen VC1, using following delegate:
-(void)imagePickerController:(UIImagePickerController *)picker
didFinishPickingMediaWithInfo:(NSDictionary *)info
So far, this is what I am doing currently.
Now, my client realizes that the 1st screen VC1 is really a one-off type
of screen and is not required always. It must load the first time. Later
on, if at all, it must be launched from within VC2 (camera view
controller).
Once discarded, every time, VC1 should reveal VC2.
This requirement leads me to believe that VC1 should be launched from VC2
modally. But my experience so far with iOS camera view tells me the
reverse, as I described in the first paragraph.
How should I deal with this? Is the user's standpoint usual? Is it
feasible and workable that two VCs can be launched modally from each
other?
No comments:
Post a Comment