Merge pull request #39 from 433/version_check_fix
update version check to make #if work for iOS >= 4
This commit is contained in:
commit
b3d7a5c450
|
@ -59,7 +59,7 @@ static SDImageCache *instance;
|
|||
name:UIApplicationWillTerminateNotification
|
||||
object:nil];
|
||||
|
||||
#ifdef __IPHONE_4_0
|
||||
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0
|
||||
UIDevice *device = [UIDevice currentDevice];
|
||||
if ([device respondsToSelector:@selector(isMultitaskingSupported)] && device.multitaskingSupported)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue