gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 01:10:18 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com