Making an iOS file input go directly to the camera app?

后端 未结 2 1457
深忆病人
深忆病人 2021-02-13 20:27

Background: iOS 6.1, at the time of writing, doesn\'t allow both multiple file selection and taking a photo in a single input.

Since my main app already has a multiple i

2条回答
  •  灰色年华
    2021-02-13 20:51

    No, you can't. Safari handles this as an UIImagePickerView and has to choose the source by this UIActionSheet.

    For your information, this line has the same effect:

    
    

    Tested also in iOS 7.

提交回复
热议问题