【发布时间】:2014-10-20 04:48:01
【问题描述】:
我是 iOS 新手。我的问题是我们如何将来自电子邮件的字符串放在双引号“”中?
NSString* messageString = [NSString stringWithFormat: @"%@ does not apppear to be valid email address.Do You Want sent Anyway?", email];
UIAlertView *alertView =[[UIAlertView alloc]initWithTitle:@"Invalid adress" message:messageString delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil];
[alertView show];
break;
【问题讨论】:
-
使用这个 >
\"例如\"Invalid Email\"
标签: objective-c nsstring