腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(3612)
视频
沙龙
3
回答
uipickerview查看表格上的选择视图单元格详细信息文本标签
iphone
、
ios
、
objective-c
、
uitableview
、
uipickerview
正如我在标题中所写的,我正在尝试将在选择器视图(由数组填充)上选择的值写到我单击以打开选择器视图的单元格的
detailTextLabel
。(选择器视图显示在actionSheet中)。当调用以下方法时,我尝试将选择记录到tableData数组中,然后使用该值替换
detailTextLabel
上的原始值} tab
浏览 0
提问于2013-02-01
得票数 1
回答已采纳
2
回答
UITableViewCell标签和多行
ios
、
objective-c
、
uitableview
cell.
detailTextLabel
.numberOfLines = 2; cell.
detailTextLabel
.lineBreakMode = NSLineBreakByWordWrapping
浏览 5
提问于2016-03-05
得票数 1
回答已采纳
2
回答
UITableView.automaticDimension不工作tableView
detailTextLabel
ios
、
swift
、
uitableview
我尝试了许多可能的方法来实现TableViewCell的
detailTextLabel
的自动调整,但是没有一个在工作。我不知道我错过了什么,也不知道是不是虫子!
detailTextLabel
?.numberOfLines = 0 case 1: cell?.textLabel?.
detailTextLabel
?.text = caseDet
浏览 0
提问于2018-12-02
得票数 0
回答已采纳
2
回答
iPhone UIGroupTableView -如何隐藏单元格边框但保持部分圆角边框
iphone
、
uitableview
当我设置它还隐藏了部分边框。任何想法,我如何才能隐藏所有单元格分隔符边框,但整个部分的圆角边框应该在那里。UIView *bgView = [[UIView alloc] initWithFrame: CGRectMake(cell.frame.origin.x +10, -1,
浏览 1
提问于2011-05-30
得票数 1
回答已采纳
2
回答
UITableViewCell标签显示错误
ios
、
objective-c
、
uitableview
= CGRectMake(74,self.
detailTextLabel
.frame.origin.y+self.textLabel.frame.size.height,self.
detailTextLabel
.frame.size.width,self.
detailTextLabel
.frame.size.height);在控制器中,cellForRowAtIndexPath是: cell.textLabel.font = cellFont; cell.
浏览 2
提问于2015-01-08
得票数 0
1
回答
有没有办法解决按钮和文本的重叠问题?
ios
、
swift
我在单元格的右边有一个按钮和文本。文本与按钮重叠。我希望文本在触动按钮之前转到下一行。我该怎么做呢? func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { cell.cus
浏览 0
提问于2015-11-11
得票数 2
1
回答
PFTableViewCell和iOS混在一起
ios
、
parse-platform
这最终是成功的,然而,textLabel和
detailTextLabel
都在自己的之上。照片下面是我的牢房密码。self.textLabel.frame.origin.y,self.textLabel.frame.size.width,self.textLabel.frame.size.height); self.
detailTextLabel
.frame= CGRectMake(74,self.
detailTextLabel
.frame.origin.y,self.
detailTextLabel
.fram
浏览 5
提问于2015-01-06
得票数 0
回答已采纳
1
回答
如何在单元格中设置UILabel相对于图像的位置
ios
、
objective-c
、
uitableview
、
uilabel
,这会导致问题,因为每个单元格的图像大小各不相同,因此x坐标为90意味着有时它会不对齐,就像“最佳匹配”标签显示如下: 如何使x相对于cell.imageView坐标,使其与textLabel和
detailTextLabel
浏览 3
提问于2014-11-15
得票数 2
3
回答
字幕未出现UITableView单元格
ios
、
uitableview
[foodArray objectAtIndex:indexPath.row]; [[cell
detailTextLabel
浏览 4
提问于2013-07-31
得票数 0
回答已采纳
4
回答
XCode - .
detailtextlabel
中数组前的字符串
objective-c
、
xcode
我想这是可能的,但似乎无法解决.我有:在表视图中,它只显示年龄,我希望它显示为:而不仅仅是为帮助干杯
浏览 9
提问于2014-08-08
得票数 0
回答已采纳
3
回答
更改突出显示的UITableView cell.
detailTextLabel
颜色
iphone
、
objective-c
、
ios
、
uitableview
通过执行以下操作,我设法更改了主标题标签文本:但是,当
detailTextLabel
被突出显示/选中时
浏览 0
提问于2012-03-05
得票数 0
回答已采纳
2
回答
复制UITableViewCell风格
iphone
、
ios
、
uitableview
cell.accessoryView = myLabel; cell.textLabel.text = table.title; cell.
detailTextLabel
.text
浏览 2
提问于2011-07-26
得票数 0
1
回答
将tabBarController切换到包含多个单元的tableView时出现延迟
ios
、
objective-c
、
uitableview
、
uitabbarcontroller
我的应用是基于tabBarController的,有2个标签。我的问题是:如果我提前加载数据,切换到选项卡2会有延迟,而且有很多数据要显示在属于选项卡2的tableView的单元格中。如果没有很多单元格可以显示,那么就不会有延迟。
浏览 3
提问于2015-09-08
得票数 0
1
回答
iPhone,txtPassword.textColor = cell.
detailTextLabel
.textColor;NSInternalInconsistencyException,原因:无效参数不满足
iphone
txtPassword.textColor = cell.
detailTextLabel
.textColor; Assertion failure in -[UITextFieldLabel setTextColor
浏览 3
提问于2010-10-15
得票数 2
回答已采纳
1
回答
Dynamic Height MultipleSelectorRow as per selection以显示所有选定的值
ios
、
swift
、
eureka-forms
row.cell.height = { size.height }row.cell.
detailTextLabel
row.cell.height = { size.height }row.cell.
detailTextLabel
浏览 25
提问于2019-04-09
得票数 2
回答已采纳
2
回答
如何以编程方式更改
detailTextLabel
高度
ios
、
swift
、
uitableview
、
uilabel
、
height
当单元为
detailTextLabel
使用多条线时,行之间的空间很小。我想知道是否有任何方法来提高这个高度的规划?下面是用于数组的示例代码。cell.
detailTextLabel
?.font = UIFont(name:"CS Avva Shenouda", size:30)cell.
detailTextLabe
浏览 3
提问于2017-10-14
得票数 2
回答已采纳
2
回答
cell.
detailTextLabel
.text的XCode GDB语法?
xcode
、
uitableview
、
nsstring
、
gdb
编辑:我希望能够在调试器命中断点时显示变量的内容There is no member named
detailTextLabel
(gdb) p (NSString*)[cell.
detailTextLabel
.text]A syntax error in expr
浏览 0
提问于2012-09-07
得票数 0
回答已采纳
1
回答
如何减小ios tableview中的字体大小并截断文本标签
objective-c
、
ios
我有一个表格视图,我想在cell.
detailTextLabel
.text .cud中减小字体大小,并将字符串的长度缩短为5个字符,大家帮我,out..below就是代码。cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator; { { cell.textLabel.textColor=
浏览 1
提问于2012-02-06
得票数 1
回答已采纳
1
回答
如何在UILabel中添加UITableViewCell中的新行?
ios
、
swift
、
uikit
、
uilabel
这是我当前的代码,它在一个UILabel中设置一个UITableViewCell cell.
detailTextLabel
?.
浏览 1
提问于2022-01-30
得票数 0
回答已采纳
1
回答
如果设置
detailTextLabel
of UITableViewCell,则应用程序崩溃
ios
、
uitableview
、
swift
、
detailtextlabel
{ cell.
detailTextLabel
浏览 2
提问于2015-02-28
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券