What will [[UIDevice currentDevice] model] return for "iPad"?
I tried using containsString but it was not allowed with xcode4
Here is how I solved it:
if ([[[UIDevice currentDevice] model] hasPrefix:@"iPhone"])
{
Hope this helps even if its a bit late.