romaonthego / REMenu

Dropdown menu inspired by Vine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Live blur broken on iOS 7.1

tfonfara opened this issue · comments

With iOS 7.1 update the live blur mode doesn't work anymore.

I found the reason, REUIKitIsFlatMode() returns YES on iOS 7.0 but NO on iOS 7.1

#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)

if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.1")) {
    isUIKitFlatMode = YES;
}

is what I changed to make it work right on my app
Yes I know it a hack but it worked in the mean time