I want to set UIImagePickerController inside my UITabBarController but I want it to be from source: UIImagePickerControllerSourceTypeCamera
How can I set this?
I added a controller to UITabBarController and set it as UIImagePickerController, but I cannot find a option to set it to be the Camera In Interface Builder. I just found PhotoLibrary and SavedPhotos.
Is this possible?
Thanks in advance.
Ignacio
Answer to myself: Is not possible since Camera source is not available in Mac OS, (same as simulator), hence not available in IB. This has to be done programatically. So:
Probably i should not use UITabbarController but UITabBar instead. (So I can load controllers dinamically and show them modally.)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.