Search code examples
iosobjective-ccore-dataios-simulatorstanford-nlp

App working in IOS 5.0 but not on IOS 5.1


I am trying to test an app from that I created by following an tutorial of Paul Hegarty from stanford university.

You can find a download link over here.

When I test it on the IOS5.0 simulator, it works fine. But when I test it on the IOS 5.1 simulator. It doesn't do anything. Can anybody test it in their simulators and tell me if it's working?

You only need to download it, and fill this API-key. In FlickrAPI-key.h

95f1f522e7332485662d0b1dfbba6544

Kind regards.


Solution

  • This indeed doesn't work in the iOS 5.1 Simulator.

    The (first) problem seems to be in PhotographersTableViewController.m on line 76, where openWithCompletionHandler: is being called on a UIManagedDocument, but for some reason, the completion handler is never called, even though it should be, according to the documentation.

    Others have had this problem, too:

    Looks like a bug in iOS 5.1 to me - but probably just in the Simulator, and maybe only when using the iOS 6.0 SDK. I don't have a device with iOS 5.1 with me, so I can't test that, but it seems to work fine on the iOS 6.0 Simulator.