+(BOOL)isOS4{ NSComparisonResult order = [[UIDevice currentDevice].systemVersion
compare: @"4.0" options: NSNumericSearch];
if (order == NSOrderedSame || order
== NSOrderedDescending) {
return YES; } else {
return NO; } }