{"action":"closed","issue":{"url":"https://api.github.com/repos/auth0/Lock.iOS-OSX/issues/111","labels_url":"https://api.github.com/repos/auth0/Lock.iOS-OSX/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/auth0/Lock.iOS-OSX/issues/111/comments","events_url":"https://api.github.com/repos/auth0/Lock.iOS-OSX/issues/111/events","html_url":"https://github.com/auth0/Lock.iOS-OSX/issues/111","id":75621159,"number":111,"title":"UITheme is using a iOS 8+ API","user":{"login":"hzalaz","id":895992,"avatar_url":"https://avatars.githubusercontent.com/u/895992?v=3","gravatar_id":"","url":"https://api.github.com/users/hzalaz","html_url":"https://github.com/hzalaz","followers_url":"https://api.github.com/users/hzalaz/followers","following_url":"https://api.github.com/users/hzalaz/following{/other_user}","gists_url":"https://api.github.com/users/hzalaz/gists{/gist_id}","starred_url":"https://api.github.com/users/hzalaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzalaz/subscriptions","organizations_url":"https://api.github.com/users/hzalaz/orgs","repos_url":"https://api.github.com/users/hzalaz/repos","events_url":"https://api.github.com/users/hzalaz/events{/privacy}","received_events_url":"https://api.github.com/users/hzalaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/auth0/Lock.iOS-OSX/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-12T14:24:20Z","updated_at":"2015-05-15T23:18:32Z","closed_at":"2015-05-15T23:18:32Z","body":"Replace the inner method `-image` of `A0ImageTheme` with the following:\r\n\r\n```objc\r\n- (UIImage *)image {\r\n    if ([UIImage respondsToSelector:@selector(imageNamed:inBundle:compatibleWithTraitCollection:)]) {\r\n        NSBundle *bundle = self.bundleName ? [NSBundle bundleWithIdentifier:self.bundleName] : [NSBundle bundleForClass:self.class];\r\n        return [UIImage imageNamed:self.imageName inBundle:bundle compatibleWithTraitCollection:nil];\r\n    } else {\r\n        return [UIImage imageNamed:self.imageName];\r\n    }\r\n}\r\n```"}}