标题和消息之间的操作 Sheet space?
Action Sheet space between title and message?
目前正在尝试创建一个动作 sheet,其中在标题和消息之间包含一些 space。
这是我的操作 sheet 目前的样子:
这是我希望的样子:
忽略第二张图片中 "Stop Following" 按钮下方的随机蓝色圆圈。我只是想在标题和消息之间实现 space,而不必创建自定义操作 Sheet。这是可以实现的吗?如果是,怎么做?
在消息上添加换行符 \n 应该有帮助:
let alert = UIAlertController(title: "Stop Following", message: "\n\n\nYou'll stop receiving activity", preferredStyle: UIAlertControllerStyle.actionSheet)
目前正在尝试创建一个动作 sheet,其中在标题和消息之间包含一些 space。
这是我的操作 sheet 目前的样子:
这是我希望的样子:
忽略第二张图片中 "Stop Following" 按钮下方的随机蓝色圆圈。我只是想在标题和消息之间实现 space,而不必创建自定义操作 Sheet。这是可以实现的吗?如果是,怎么做?
在消息上添加换行符 \n 应该有帮助:
let alert = UIAlertController(title: "Stop Following", message: "\n\n\nYou'll stop receiving activity", preferredStyle: UIAlertControllerStyle.actionSheet)