标签: objective-c nsstring nsmutablestring
如何将NSMutable String转换为常规NSString?
答案 0 :(得分:22)
尝试[NSString stringWithString: yourMutableString]
[NSString stringWithString: yourMutableString]
答案 1 :(得分:5)
[aMutableString copy]
将返回NSString。
NSString