dvc无法在新版iOS中的textview中传递NSString数据?

时间:2016-03-07 08:44:42

标签: 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.";

此处数据未传递到新版本的iOS(如9.1)

dvc.details=[NSString stringWithFormat:@"\t%@\n", str1];

1 个答案:

答案 0 :(得分:1)

该代码不合法​​且无法编译:

dvc.details=[NSString stringWithFormat:@"\t%@\n\", str1]
                                               ^^

你要么意思是:

@"\t%@\n\""

或:

@"\t%@\n"