これが 5.1 シミュレーターでは機能しないのに、4.2 4.3 5.0 では機能するのはなぜですか ???
OSXLion 10.7.4 XCode 4.3.3
if ([email.text rangeOfString:@"@"].location == NSNotFound) {
UIAlertView *alert =[[UIAlertView alloc] initWithTitle:@"Email" message:@"Please provide email address" delegate:nil cancelButtonTitle:@"Cool" otherButtonTitles:nil];
[alert show];
}
else {
work...work...work...
助けてくれてありがとう。