腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(66)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
如何根据UISwitch所在的单元格更改UISwitch的功能
class SettingsCell: UITableViewCell { lazy var
switchControl
: UISwitch = {
switchControl
.isOn = true
switchControl
.onTintColor = UIColor(red: 55/255, green: 130/255, blue: 250/255, alpha
浏览 21
提问于2020-12-28
得票数 2
回答已采纳
1
回答
根据在firebase数据库中找到的值设置开关
let
switchControl
: UISwitch
switchControl
= self.
switchControl
switchControl
.setOn(true, animated: false)= UIBarButtonItem.init(customView:
swi
浏览 0
修改于2017-10-28
得票数 1
1
回答
swift -当导航栏中的UI开关更改时,更改标题中的标签
在viewDidLoad()中调用setLeftNavButton() //
switchControl
.setOn(true, animated: false) self.navigationIte
浏览 0
修改于2017-10-29
得票数 0
2
回答
如何在iOS中以编程方式在循环中创建多个UISwitches?
for (int i =0; i < 3; i++) { UISwitch *
switchControl
= [[UISwitch alloc] initWithFrame:frame];
switchControl
.tag = i; [
switchControl
addTarget:self action:@selector(flip:)
浏览 0
修改于2019-05-03
得票数 1
回答已采纳
1
回答
另一个自定义UISwitch问题
这是我目前所拥有的: [
switchControl
addTarget:self action:action forControlEvents:UIControlEventValueChanged];
switchControl
.on = value; [c
浏览 6
修改于2011-02-05
得票数 3
回答已采纳
1
回答
pi上的Google assistant sdk对自定义操作不做任何操作。
我已经编辑了action.py以将我的代码 """Control a RC-Socket""" subprocess.call(
SwitchControl
.COMMAND_ON,for i in range(10):
浏览 0
修改于2017-06-25
得票数 1
1
回答
iOS无法在UITableViewCell中更改标签的X位置
我可以使用以下命令控制开关的X位置:
switchControl
.rightAnchor.constraint(equalTo: rightAnchor, constant: -20).isActive: UISwitch = {
switchControl
.isOn = true
switchControl
浏览 18
提问于2020-10-23
得票数 0
回答已采纳
2
回答
当tableview附件类型的开关打开时,如何禁用didselectrowAtIndexPath。?
tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath if (
switchControl
.oncell.backgroundColor=[UIColor colorWithRed:238.0/255.0 green:238.0/255.0 blue:239.0/255.0 alpha:1.0];
switchControl
= [[UISwitch alloc] initWithF
浏览 0
修改于2015-06-25
得票数 1
1
回答
以编程方式将开关添加到scrollview会引发异常
UISwitch *
switchControl
= [[UISwitch alloc] initWithFrame:CGRectMake(x, y, 60, 20)]; [
switchControl
setBackgroundColor:[UIColor clearColor]];
浏览 1
提问于2012-01-18
得票数 2
回答已采纳
2
回答
在静态方法中访问WPF名称属性
在其中一个XAML中,我使用了Name属性,如下所示我必须使用.cs文件访问this.
switchcontrol
文件中的控件/属性--我的问题是,我需要在静态方法中访问该控件,如{} 如何做到这一点?
浏览 5
提问于2013-12-10
得票数 6
回答已采纳
2
回答
在中显示和定位UISwitch或任何UIView
delegate]; // UISwitch*
switchControl
UISwitch*
switchControl
= [[[UISwitch alloc] init] retain]; //[
switchControl</e
浏览 6
提问于2012-01-26
得票数 1
4
回答
如何以编程方式切换uiswitch按钮
= [[UISwitch alloc] initWithFrame:CGRectZero]; [self.
switchControl
addTarget:self action:@selector(switchChanged:) forControlEvents:UIControlEventValueChanged];
浏览 0
修改于2019-04-20
得票数 0
2
回答
如何在iphone中创建UISwitch in for循环?
(int i =0; i < 3; i++) { UISwitch *
switchControl
= [[UISwitch alloc] initWithFrame:frame]; [
s
浏览 2
提问于2012-05-16
得票数 3
回答已采纳
1
回答
UIGraphicsGetImageFromCurrentImageContext()不包括CAAnimations
var point = backgroundLayer.position point.x += (radius)
switchControl
.path = switchControlPath.CGPath
浏览 0
修改于2016-04-14
得票数 0
1
回答
保存和加载UISwitch状态
[[NSUserDefaults standardUserDefaults] setBool:
switchControl
.on forKey:@"switch"];if(test == YES)else [
switchControl
setOn
浏览 0
修改于2011-07-12
得票数 2
回答已采纳
2
回答
基于属性值更改WPF装饰器子对象
类似这样的东西:
SwitchControl
将从装饰器或边界派生,无论是什么。<
SwitchControl
Property="Status"> <Possibility Value="DiscontinuedPossibility.Template> </Possibility.Template&
浏览 0
修改于2016-08-22
得票数 0
3
回答
快速更改-How控件上曲线的颜色
layer.borderWidth = 2.0和.layer.cornerRadius = 15 改变了帧而不是曲线lazy var
switchControl
: UISwitch = {
switchControl
.addTarget(self, action: #selector
浏览 4
修改于2020-03-17
得票数 0
回答已采纳
1
回答
UITableViewController在弹出窗口中的显示方式不同,为什么?
config.MDepthIntervalInTCPlot intValue]]; } { [
switchControl
addTargetforControlEvents:UIControlEventValueChang
浏览 1
修改于2013-09-27
得票数 0
回答已采纳
2
回答
我试图在一个小部件中调用一个函数,但是什么都没有发生
*/ bool
switchControl
= false; if (
switchControl
== false) { textHolder = 'Switch is ON
浏览 2
修改于2019-12-22
得票数 0
5
回答
如何在表视图中自定义单元格中从标签中获取文本
forControlEvents: .ValueChanged) let
switchControl
UISwitch print("The switc
浏览 5
修改于2016-08-19
得票数 1
回答已采纳
第 2 页
第 3 页
第 4 页
点击加载更多
领券