gpt4 book ai didi

ios - 选定的行数据显示在标签或文本字段中,如果取消选择则删除数据

转载 作者:行者123 更新时间:2023-11-29 04:13:11 24 4
gpt4 key购买 nike

我正在文本字段中显示选定的表格 View 行数据,并将所有选定的字符串连接起来。我想从该连接的字符串中删除未选定的数据。有谁可以帮助我吗?

最佳答案

试试这个:

yourString = [yourString stringByReplacingOccurrencesOfString:unselectedRowData withString:@""];

yourTextField.text = yourString;

关于ios - 选定的行数据显示在标签或文本字段中,如果取消选择则删除数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14080877/

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