dvc 无法在新版 iOS 的文本视图中传递 NSString 数据?


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"