From: Jay Freeman (saurik) Date: Sun, 14 Dec 2014 12:56:30 +0000 (-0800) Subject: Fix PhotoExample for iOS 8.x (slow, but whatever). X-Git-Tag: v0.9.4013~3 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/9bb5669132c189654172e8565bcc8b9eab0ea183 Fix PhotoExample for iOS 8.x (slow, but whatever). --- diff --git a/PhotoExample.cydget/index.html b/PhotoExample.cydget/index.html index 5526917..86d8fe3 100644 --- a/PhotoExample.cydget/index.html +++ b/PhotoExample.cydget/index.html @@ -177,7 +177,10 @@ if (version == 1) album = album.contents; else { - [album indexOfPosterImage]; + if ([album respondsToSelector:@selector(indexOfPosterImage)]) + [album indexOfPosterImage]; + else + [album posterImage]; [album entity]; album = album.managedObjectContext.registeredObjects.allObjects; }