首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >更改主屏幕快速操作图标位置

更改主屏幕快速操作图标位置
EN

Stack Overflow用户
提问于 2018-01-25 22:48:43
回答 1查看 449关注 0票数 0

问:如何在UIApplicationShortcutItems中将图标定位到文本的左侧?

观察:我正在将主屏幕快速操作添加到我的应用程序中,我的自定义图标位于文本的右侧。我查看了facebook、snapchat等多个大型应用程序,并系统地观察了左侧的图标。Apple文档和官方App总是有右对齐的图标。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-01-25 23:51:20

我不认为你可以选择图标的位置:

以下是一位苹果员工的回答:

代码语言:javascript
代码运行次数:0
运行
复制
The icon position is not configurable, and iOS will swap sides of the 
icon depending on where the app icon is placed.  For example, if the 
app icon on the left side of the screen the icon in the shortcut menu 
will appear on the left, but if the app is on the right side of the 
screen then the shortcut menu items will be on the right.  In general, 
the shortcut menu icons will be positioned so that they are directly 
above or below the app's icon. 

来自:https://forums.developer.apple.com/thread/20568

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/48445641

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档