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

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -