腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(1192)
视频
沙龙
2
回答
Swift
UITableView
trailingSwipeActionsConfigurationForRowAt
图像
全为
白色
、
我已经实现了下面的方法,虽然功能正常,但显示的
图像
是完全
白色
的。编辑样式中是否有我需要更改的属性?func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
indexPath: IndexPath
浏览 146
提问于2021-11-21
得票数 0
1
回答
尾随滑动作用下系统
图像
颜色的变化
、
、
、
、
我试图改变垃圾系统
图像
的颜色,但由于某些原因,它不起作用。func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
indexPath: IndexPathwithTintColor(.red)} 我需要它,因为我试图给我的删除行动和
图像
颜色是
白色
的清晰背景
浏览 11
提问于2022-02-02
得票数 1
1
回答
使用
trailingSwipeActionsConfigurationForRowAt
和editActionsForRowAt快速滑动平板视图单元格集
图像
、
我想要设置完整的
图像
。我看过很多演示代码,但之后是文本和背景
图像
,我需要用整个
图像
创建,这是我为ios 10和ios 11编写的代码,但我没有成功。用editActionsForRowAt问题是
图像
重复多次与
trailingSwipeActionsConfiguration
浏览 0
提问于2018-02-14
得票数 0
1
回答
如何在列表视图中创建SwipeActionsConfigurationForRowAt - SwiftUI (iOS 13)?
、
、
、
、
我知道删除(.onDelete(执行:删除))有一个选项,但是我想添加更多的操作,正如我在上面的
图像
中提到的那样。 func tableView(_ tableView:
UITableView
,
trailingSwip
浏览 7
提问于2020-02-20
得票数 2
1
回答
如何在触发UITableViewRowAction时显示
图像
?
、
、
到目前为止,与我收集和实现的内容不同,我在背景中有一个重复的
图像
,并且不确定如何使其变成红色,或者只显示一个垃圾桶
图像
。func tableView(_ tableView:
UITableView
, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction
浏览 0
提问于2018-02-10
得票数 1
回答已采纳
3
回答
如何添加自定义图片到
uitableview
单元格滑动删除
、
、
你能告诉我,在
UITableview
上滑动单元格时,如何在删除按钮上添加自定义图片吗?
浏览 0
提问于2015-03-30
得票数 11
2
回答
如何禁用iOS11中的tableview单元格上的完整滑动
、
、
、
、
// return nil to get the default swipe actions- (nullable UISwipeActionsConfiguration *)tableView:(
UITableView
@available(iOS 11.0, *) func tableView(_ tableVie
浏览 6
提问于2017-09-25
得票数 19
回答已采纳
1
回答
在
swift
中更改表格视图卷帘按钮
图像
图标颜色的步骤
、
我想放置两个
图像
图标为buttons.But的
图像
图标颜色改为
白色
,而不是原来的color.How,以保持相同的
图像
图标颜色?我的代码是- //MARK: - Tableview delegate fu
浏览 3
提问于2019-09-11
得票数 2
3
回答
在UITableViewCell上滑动
、
、
、
我使用了下面的代码,这样就可以使“左扫”功能在UITableViewCell上发生一些事情-func tableView(tableView:
UITableView
, editActionsForRowAtIndexPath indexPath
浏览 3
提问于2016-01-22
得票数 3
回答已采纳
2
回答
如何更改Tableview的UIContextualAction的
图像
色调颜色?
、
、
在那里,我想改变
图像
的色调颜色,但无法改变,它总是返回
白色
。我已经尝试了原始
图像
和模板
图像
的Rendring
图像
,但仍然不起作用。我在下面添加了屏幕截图:请,任何人都可以帮助我 public func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
浏览 0
提问于2019-11-20
得票数 4
1
回答
Swift
editActionsForRowAt vs
trailingSwipeActionsConfigurationForRowAt
TableView
、
、
、
我对
swift
还很陌生,但是我想知道对于
UITableView
来说editActionsForRowAt和
trailingSwipeActionsConfigurationForRowAt
有什么不同。
浏览 1
提问于2018-04-16
得票数 0
1
回答
UITableView
editActionsForRowAt在
Swift
5中没有对零做出适当的反应
、
我有一个
UITableView
工作的几个版本的
Swift
,但与
Swift
5,它开始显示‘删除’的行动在左滑动。func tableView(_ tableView:
UITableView
, editActionsForRowAt indexPath: IndexPath) -> [UITableViewRowAction更新1-甚至是使用
trailingSwipeActionsConfigurationForRowAt
的重构-都不起作用,我也得到了同样的结果。func tableView(_ t
浏览 0
提问于2019-03-27
得票数 3
回答已采纳
2
回答
SwipeActions不适用于tableView Vive5Xcode 13.4.1
、
、
、
不调用函数
trailingSwipeActionsConfigurationForRowAt
。代码func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
indexPath: IndexPath
浏览 16
提问于2022-08-31
得票数 1
3
回答
编辑动作tableView:在右边?
、
、
func tableView(_ tableView:
UITableView
,func tableView(_ tableView:
UITableView
,tableView:leadingSwipeActionsConf
浏览 3
提问于2019-09-10
得票数 0
4
回答
trailingSwipeActionsConfigurationForRowAt
中的
图像
似乎不起作用
、
我正在尝试实现一个新的iOS11功能,允许您在tableview滑动操作中正式使用
图像
。所以,我想出了这个: func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
在这两种情况下,
图像
都会在调试器中正确显示: 但未能在模拟器中显示("Nothing here“标记了我期望
图像
显示的位置): 我做错了什么吗?
浏览 8
提问于2017-11-21
得票数 4
3
回答
如何在UIContextualAction中添加
图像
在
UITableview
DataSource方法中
、
、
我试图在UIContextualAction中添加
图像
,请参阅下面的代码:-
trailingSwipeActionsConfigurationForRowAt
FlagAction.image = UIImage(named: "flag")}
图像
浏览 2
提问于2018-06-04
得票数 0
0
回答
UITableView
trailingSwipeActionsConfigurationForRowAt
图像
和标题
、
、
、
在iOS 11中,我们在
UITableView
trailingSwipeActionsConfigurationForRowAt
中有一个获取滑动事件的功能。但是,当我试图减小行的高度时,文本消失了,只剩下
图像
。 有没有办法让我两样都留着?我的单元格高度应该是60.0,我需要同时显示
图像
和标题。它适用于84.0。
浏览 7
提问于2018-07-10
得票数 1
回答已采纳
1
回答
swipeActions (tableView)中的
图像
为空
、
、
、
我的
图像
是存在的(我在定义变量时可以看到它们),但在运行我的应用程序时,我只有一个
白色
的圆圈,而没有橙色的旗帜。看起来
图像
的内容(但不是形状)丢失了。@available(iOS 11, *) func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
浏览 1
提问于2018-01-24
得票数 0
1
回答
UITableView
卷帘单元格的边框
、
、
、
我在macOS Catalina上使用
Swift
5和Xcode11.4.1。override func tableView(_ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
override func tableView(_ tableView:
UITableView
, cellForRowAt indexPath: IndexPath) -> UITableViewCell
浏览 15
提问于2020-06-07
得票数 1
回答已采纳
1
回答
使用
UITableView
的RXSwift -如何根据可观察值更改滑动操作
、
、
下面是当前的代码: _ tableView:
UITableView
,
trailingSwipeActionsConfigurationForRowAt
浏览 4
提问于2021-08-27
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
基于3ds Max和Unity创建办公楼交互式虚拟体验,牛!
在深度学习的革命中,谈谈卷积神经网络
白话卷积神经网络
苹果AI首秀:Siri更加智能,大模型教你高情商聊天
人类唯一的出路—变成人工智能(2)
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券