I always thought it was annoying to reach my thumb to the capture photo button. I like my phone but there are so many buttons with no labels and simple features nobody tells you about. I’ve had smartphones for years but Android until 2 years ago. What else am I missing about iPhones?
Videos
Is there an app or a way to double press power button to open the camera? On my previous phone a pixel 5 it was super convenient to be able to double press the power button and open the camera instantly. I know I can swipe left to open the camera form the lock screen, but that is clunky and sometimes it registers as a swipe down and opens spotlight search. Holding the camera icon on lock screen works a bit better, but still requires looking at the screen, with a double press I feel like it would be very convenient and the best method.
Any feedback would be appreciated.
I have noticed that using imagePicker.showsCameraControls=NO; and by setting a custom overlay of the cameraOverlayView of the UIImagePickerController, the volume button is disabled. Now the problem is that you have to redefine the behaviors of the camera(zoom, ect).
Short of jailbreaking your device or using private api, this cannot be done, much less approved by Apple, using the standard methods.
If your device is jailbroken, I believe there is an Activator setting that will allow you to accomplish this.
Also, there is a package in Cydia that does exactly this called SnapTap.
Are you want to know a hardware volume buttons up-press, down-press notification?
Or,please explain more about when you press the volume buttons to take pictures?
If so, refer an OpenSource example. Looking at the code, you can find a volume press-up/press-down event methods.
When you use the UIImagePickerController object, the volume button actions come built-in. So if you use this object in your app, you get very similar functionality to the built-in camera app, specifically -- if you press the volume up it will capture your image.
To use it, the rough process is as follows:
Create a UIImagePickerController object
Set its sourceType property to be UIImagePickerControllerSourceTypeCamera and set its delegate
Implement your delegate methods to handle the picture you take and dismiss the camera
And then present the camera. The default is to show the camera controls on screen and you can either use those or use the volume button.