Bordertown Labs Blog

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.


Posts tagged "camera"

Mar 2nd, 2011 @ 1:43 pm

Apple camera iris animation

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.

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];

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.




Comments (View)

 


 

Nov 29th, 2010 @ 12:25 pm

360 Panorama - Realtime panorama creation from Occipital, makers of RedLaser which was bought by eBay.  Nice work.

360 Panorama - Realtime panorama creation from Occipital, makers of RedLaser which was bought by eBay. Nice work.




Comments (View)

 


 

Aug 6th, 2009 @ 11:42 am

Customizing the iPhone camera view with UIImagePickerController in SDK 3.1

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.




Comments (View)

 


 

Archive · RSS · Theme by Autumn