How to launch iPhone Camera on viewDidLoad?

前端 未结 2 381
予麋鹿
予麋鹿 2020-12-16 07:18

I can\'t seem to launch the camera when loading my view. I end up making the user have to find and press a button on the screen just to load the camera (redundant). How can

2条回答
  •  心在旅途
    2020-12-16 08:10

    Seems that it does not do it when you put the call to present modal view in view did load . You can try having a 2 second timer after the call to [super viewDidload] that pushes the picker view in or something like that.

提交回复
热议问题