腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(4506)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
UIAlertAction
-设置后编辑
UIAlertAction
UIAlertController*)showUIAlertController:(NSString *)title message:(NSString *)message actions:(NSArray<
UIAlertAction
类似于:
UIAlertAction
*actionCopyWithAdditionalAction = [
UIAlertAction
actionWithTitle:action.title st
浏览 0
提问于2017-02-21
得票数 1
1
回答
UIAlertAction
错误
, preferredStyle: .ActionSheet) let callActionHandler = { (action:
UIAlertAction
not working right now, try again la
浏览 2
提问于2015-07-17
得票数 0
回答已采纳
1
回答
如何更改
UIAlertAction
字体?
有没有办法改变
UIAlertAction
字体,因为我只在UIAlertController的标题和消息中发现了如何改变字体。我也找到了改变颜色的方法,但是我就是找不到改变字体的方法。
浏览 5
提问于2018-09-19
得票数 0
2
回答
UIAlertAction
更改颜色
如何更改已添加到UIAlertController的
UIAlertAction
按钮的颜色
浏览 0
修改于2014-12-15
得票数 11
回答已采纳
2
回答
UIAlertAction
值列表
我想知道如何更改
UIAlertAction
标题的字体。我假设,这可以通过为特定键设置一个值来完成。
浏览 2
修改于2015-05-05
得票数 8
2
回答
UIAlertAction
-处理操作
= UIAlertController(title: title, message: message, preferredStyle: .alert) alertController.addAction(OKAction) let cancelAction =
UIAlertAction
浏览 0
修改于2018-05-10
得票数 1
回答已采纳
1
回答
在
UIAlertAction
中返回int或在
UIAlertAction
之后返回int
我想在
UIAlertAction
中返回一个整数。现在,我得到了一个错误:“Int不可转换为Void.‘”。警报所在的函数应该返回int。information", message: "blablabla", preferredStyle: UIAlertControllerStyle.Alert) severe.addAction(
UIAlertAction
(title: "Yes", style: .Default, handler: { (action:
UIAlertAction</e
浏览 3
提问于2015-08-03
得票数 1
回答已采纳
4
回答
未调用
UIAlertAction
处理程序
, preferredStyle: UIAlertControllerStyle.Alert) alert.addAction(
UIAlertAction
(title: "Yes", style: UIAlertActionStyle.Destructive, handler: { (action:
UIAlertAction
!)was selected")
浏览 3
修改于2015-07-29
得票数 9
1
回答
Objective-C
UIAlertAction
我正在尝试添加一个动作到
UIAlertAction
,它可以直接打开蓝牙设置。 N
浏览 0
修改于2015-05-26
得票数 0
1
回答
获取
UIAlertAction
的位置?
使用一个ViewController并在其中添加一个UIAlertController作为subView,然后添加另一个CAShapeLayer来创建一个白色矩形来突出显示'Always Allow‘
UIAlertAction
我的问题是我找不到'Always Allow‘
UIAlertAction
。我需要这个
UIAlertAction
的CGPoint。如何获得它? 更新:这不是一个真正的权限提醒,我想很多人都误解了它。
浏览 0
修改于2017-11-13
得票数 0
1
回答
用
UIAlertAction
执行segue
Confirmation", message: confirmationMessage, preferredStyle: UIAlertControllerStyle.Alert) self.performSegueWithIde
浏览 1
修改于2016-02-24
得票数 1
回答已采纳
6
回答
UIAlertAction
按钮文本对齐
我想对齐
UIAlertAction
文本对齐左,并添加图标,如图像所示。我花了很多时间在谷歌上得到解决方案,但没有找到正确的答案。每个正文张贴的警告标题,而不是警报动作标题。
浏览 11
提问于2017-11-18
得票数 11
1
回答
获取
UIAlertAction
的大小
有没有办法从
UIAlertAction
中获取高度/宽度 它似乎不是UIView的子类,因此在UIAlertController中是否有为其设置的常量
浏览 32
修改于2019-02-14
得票数 1
3
回答
从UIAlertController那里得到
UIAlertAction
?
我想调用一个函数,而不是对一个
UIAlertAction
使用闭包。是否有可能获得对拥有UIAlertController的
UIAlertAction
的引用?func okAlert(action:
UIAlertAction
) {}
浏览 3
提问于2015-10-05
得票数 6
回答已采纳
1
回答
UIAlertAction
背景色
backgroundColor = UIColor.bluelet saveBtn =
UIAlertAction
(title: "Save", style: UIAlertActionStyle.default) { print("UIAlertController: Saved")} let cancelBtn =
UIAlertA
浏览 1
提问于2017-04-03
得票数 0
回答已采纳
1
回答
不能在
UIAlertAction
上单击iPad
我用3 UIAlertController创建了一个
UIAlertAction
。它在iPhone中运行良好,但我不能在iPad中的任何
UIAlertAction
中单击。preferredStyle:UIAlertControllerStyleActionSheet]; [alert addAction:[
UIAlertAction
actionWithTitle:*session1 = [
UIAlertAction
actionWithTitle:buttonTitle style:UIAlertActionStyle
浏览 3
提问于2017-04-07
得票数 0
回答已采纳
1
回答
在
UIAlertAction
中添加prepareForSegue
Confirmation", message: confirmationMessage, preferredStyle: UIAlertControllerStyle.Alert) self
浏览 0
修改于2016-02-25
得票数 0
3
回答
在Swift中创建
UIAlertAction
我想创建以下
UIAlertAction
@IBAction func buttonUpgrade(sender: AnyObject) { preferredStyle: UIAlertControllerStyle.Alert) let cancelAction =
UIAlertAction
浏览 1
修改于2017-02-08
得票数 5
回答已采纳
1
回答
UIAlertAction
意外触发SearchBar TextDidBeginEditing
UIActionController的表示似乎以某种方式调用了我的搜索栏文本字段textDidBeginEditing方法。控制器最初是在搜索栏辞职后第一时间出现的。这是UIActionController的预期行为吗?它是否意味着在关闭以前活动的搜索栏后重新激活它?编辑:frame #1: 0x0000000189a9f4cc UIKit`-[UISearchBar(UISearc
浏览 0
修改于2015-07-07
得票数 0
回答已采纳
2
回答
如何使用
UIAlertAction
的“处理程序”来调用另一个
UIAlertAction
?
UIAlertController(title: "Never Mind", message: "It's Pointless", preferredStyle: .alert) let action =
UIAlertAction
(title: "A broken pencil who?"", preferredStyle: .alert)
浏览 3
修改于2017-11-18
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券