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 -

wpf - C# NAudio - Changing audio playback position still plays a small buffer of old position -

Log not being recorded for quickfix c++ Session -