NSString *str1 = @"offers unique programmes for children aged between 18 months to 6 years in an in an opulent property in the heart of Powai. Our large property has ample outdoor space which makes outdoor learning an integral part of the children's day-to-day curriculum and provides opportunities to engage with the natural environment.";
这里数据没有像 9.1 这样的新版本的 iOS 传递
dvc.details=[NSString stringWithFormat:@"\t%@\n", str1];
最佳答案
该代码不合法,无法编译:
dvc.details=[NSString stringWithFormat:@"\t%@\n\", str1]
^^
你的意思是:
@"\t%@\n\""
或:
@"\t%@\n"
关于ios - dvc 无法在新版 iOS 的 textview 中传递 NSString 数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35839440/