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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -