Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
In 3.0 how can one hide the bar at the bottom that displays the "Cancel" and snap buttons?
I think there is a support for this in iphone os sdk 3.1.3 with the property "showCameraControls".
For iphone os sdk 3.0 how we can hide the bar. I need this bar hidden as I do not want to take the snap at all, just show the user the camera with some overlying UI on it.

Thanks
Arnieterm
 
There is no Apple-Supported way to do what you're asking before iPhone OS 3.1. If your app is based on this ability you should set your iPhone deployment target to 3.1.
 
Upgraded to iphone os 3.1.3 and able to hide the bottom bar by using showCameraControls but now there appears a black bar instead of it. Is it possible to display the camera view to full screen so that it takes up the space left by the bottom bar?
I have seen certain apps that shows camera view with full screen [augmented reality]
I am using a navigation based application with RootViewController inheriting UIImagePickerController class
THanks
Arnieterm
 
That black bar is where the controls are supposed to go. If you want the camera image to fill the screen you can set the transform on the camera image to make it a little bigger. It will fill the length of the screen but a little bit of it will be cut off on the edges.
 
I have used a transform of (1,1.13) and it perfectly removes the black frame at the bottom. The UIImagePickerController in question is inherited by RootViewController in my navigation based application. I have noticed a strange behaviour which is that when the camera display appears for the first time then it appears without the status bar and a gray frame appears instead.
When one navigates to another screen from the RootViewController by tapping a button on an overlying view and returns back then the staus bar appears
Is it due to the transform that I am applying or any other reason behind it?
Thanks
Arnieterm
 
Not sure about your status bar question. In my case I hide the status bar. Maybe the Camera picker expects the status bar to be hidden.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.