"My Title"

Sat 24 January 2015

+(BOOL)isOS4{

NSComparisonResult order = [[UIDevice currentDevice].systemVersion compare: @"4.0" options: NSNumericSearch];

if (order == NSOrderedSame || order == NSOrderedDescending) {

return YES;

} else {

return NO;

}

}