ios - Going in camera instantly when the user load the view in Swift -


i create viewcontroller, , when user loads it, he's automatically redirected camera. know how go in camera when user press button, not when doesn't anything. example, when load snapchat app, you're automatically in camera take picture, perform that.

any ideas ? thank's

just insert code in method of viewdidload. is, view loaded, whatever in method gets called.

take @ page: uiviewcontroller class reference


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -