Sample how to programmatically camera on iOS devices