(BOOL)isSupportAutoLayOut
{
int version = [[[UIDevice currentDevice].systemVersion substringToIndex:1] intValue];
if(version == 6)
{
return YES;
}
return NO;
}
I want to support iOS 5 and iOS 6 system, on iPhone and iPad.
Does it have bug?