ios - Is there a UIImagePickerController replacement that I can use from a controller that is already in a popover? -
i'm writing app uses uiimagepickercontroller
let user choose images library. on ipad, shows in popover (because must) controller showing in popover, , you're not allowed show popover popover. can't rework whole app avoid files controller being in popover, i'd push image picker onto files controller's navigation stack.
obviously isn't going work stock image picker, there a lot of alternatives. has used of them let me push them onto navigation stack, or need write own?
the proper solution present image picker modal view controller existing view controller. set image picker's modalpresentationstyle
uimodalpresentationcurrentcontext
.
this show image picker in same popover modal view controller on calling view controller.
Comments
Post a Comment