Category Archives: iPhone

Updating An sqlite CoreData Backing Store On iOS

Something that has unpleasantly surprised many an iOS developer is that to update the data in an sqlite database that is the backing store for CoreData you need to do more than just make a new release of your app … Continue reading

Posted in app, code, iOS, iPad, iPhone, Objective-C | Tagged , , , , , , , | 2 Comments

Handy Scripts For Localizing iOS XIB Files

Recently I have been working on more and more iOS projects that require localization. One of the things that I find needs to be done fairly often while implementing localized XIB files is to extract all the strings from your … Continue reading

Posted in app, code, Interface Builder, iOS, iPad, iPhone, Ruby, script | Tagged , , , , , , , , | Leave a comment

How To Combine Two Images In iOS

A question that has been asked a lot on my iOS Still Image Capture With AVCaptureSession post is how to combine the overlay image that is shown with the image that is being captured by the camera. The more general … Continue reading

Posted in app, AR, code, iOS, iPad, iPhone, Objective-C | Tagged , , , , , , | 32 Comments

The UDID Apocalypse and: How I Learned To Cut Back On NSUserDefaults And Love The Keychain

Edit: To be honest, I will still use NSUserDefaults for a lot of things, and you should too, I just liked the Doctor Strangelove reference. By now you have probably heard that Apple is deprecating support for attaining a UDID … Continue reading

Posted in app, code, iOS, iPad, iPhone, Objective-C | Tagged , , , , , | 4 Comments

How To Use The Front Facing Camera With AVCaptureSession

A number of people have asked how to use the front facing camera for the video preview layer of an AVCaptureSession. First I will give you the code to add/change in the existing AROverlayExample project or the AROverlayImageCaptureExample project and … Continue reading

Posted in app, AR, code, iOS, iPad, iPhone, Objective-C | Tagged , , , | 4 Comments

Missing UILabels In iOS 4.x But Show In iOS 5.x

I have been banging my head against this problem for the last couple weeks. I was updating a project originally coded in Xcode 4.01 for iOS 4. I was doing the update in Xcode 4.2 and mostly running the app … Continue reading

Posted in code, iOS, iPad, iPhone, XCode | Tagged , , , , , | Leave a comment

OAuth, Twitter & iOS 5: “It looks like someone already used the token information you provided.”

I’ve been scratching my head most of the day trying to figure out why I was able to authorize with Twitter perfectly fine in my app running on pre-iOS 5 software but not in iOS 5. There are quite a … Continue reading

Posted in code, iOS, iPad, iPhone, online, web | Tagged , , , | 18 Comments

Xcode 4.2 Build Error: “iPhone apps should include an armv6 architecture”

If you are getting the following Xcode build error then this post is for you: warning: iPhone apps should include an armv6 architecture (current ARCHS = “armv7″) iOS apps prior to 4.3 use the armv6 architecture and will run on … Continue reading

Posted in code, iOS, iPad, iPhone, XCode | Tagged , , , , | 2 Comments

iOS 5 UITableView Section Header Change

Some of you may have been scratching your heads as I was today when some of the table views in an app I was working on started showing up with section headers showing that weren’t there previously. It turns out … Continue reading

Posted in app, code, iOS, iPad, iPhone | Tagged , , , , | 1 Comment

Capturing Touches On A View Inside A Scroll View

I recently needed to create a vertically scrolling UIScrollView with a child sub view on which I needed to capture touches. Working with this kind of layering of views and the responder chain can be tricky but it is not … Continue reading

Posted in app, code, iOS, iPad, iPhone, Objective-C | Tagged , , , , , , | 3 Comments