From 9bb5669132c189654172e8565bcc8b9eab0ea183 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 14 Dec 2014 04:56:30 -0800 Subject: [PATCH] Fix PhotoExample for iOS 8.x (slow, but whatever). --- PhotoExample.cydget/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.45.2