Notes from Bordertown Labs with posts regarding software development for the iPhone, Ruby on Rails, tips and code.
» Contact with inquiries.
Visualize your geodata in augmented reality with 3DAR by Spot Metrix. |
The iPhone Development Wiki has a very nice listing of private animations which are available but not necessarily acceptable by Apple.
Here’s how to show the coveted iris animation.
I recommend setting the duration to INT_MAX and taking a screenshot of the closed iris and then throwing that into a UIImageView to display before the animation begins, then hide the image right after starting the animation.
CATransition *animation = [CATransition animation];
animation.delegate = self;
animation.duration = 0.33;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
animation.type = @"cameraIrisHollowOpen"; // Or cameraIrisHollowClose, cameraIris
[someContainerView.layer addAnimation:animation forKey:nil];
360 Panorama - Realtime panorama creation from Occipital, makers of RedLaser which was bought by eBay. Nice work.
The iPhone SDK 3.1 makes the camera easier to customize. Hiding camera controls and overlaying a view is now quite simple, opening the door to a plethora of innovative augmented reality apps.
The following properties and method are now available on UIImagePickerController.
cameraOverlayView
cameraViewTransform
showsCameraControls
-[takePicture]
Download my Helpful iPhone Utilities project from github for an example of the BTLFullScreenCameraController class.
