Tag Archives: iphone

iOS 4.1 adds HDR to camera app

One thing that piqued my interest from today’s Apple Event was the addition of HDR photography in iOS 4.1, being an iOS developer I grabbed the 4.1 GM and loaded it on to my iPhone 4, see an example of a photo taken in my home office

Click the images to see them at full resolution…

You can definitely see a big improvement in the HDR photo, the original photo is overexposed all over the place, granted neither image is spectacular but I certainly can’t see a downside in enabling the feature.

I was talking to one of my brother-in-laws last Sunday about image stacking and HDR and today I get HDR built into my phone…. Sweet!!

CodeSign error: a valid provisioning profile is required

This is the error message that has been plaguing me for a few days.

What triggered it was replacing my provisioning profiles and certificates.

Fortunately I found an answer in the following blog post

CodeSign error: a valid provisioning profile is required

UITabBarController refusing to rotate

I was struggling for some hours on an issue with an App I’m writing for the iPhone.

For some reason I could not get any of the views to rotate to landscape, the API docs suggested that this was trivial and only required implementing the method

(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation

and always returning YES

The problem is that this doesn’t work if you are using a TabBarController created in Interface Builder. You can verify this by create a new project, specifying the type as “Tab Bar Application” and rotating the simulator…

I found a quick and easy solution to this problem in the following blog post

Change iPhone/iPod app orientation within a UITabBarController

I added maybe a dozen lines of code to my app and the problem is solved….

Thanks Arash…