[英]Apple watch circular buttons
How to design circular buttons in Apple watch? 如何在Apple Watch中设计圆形按钮? What would be the approach to design a screen like the contacts application of the watch.
设计类似于手表的联系人应用程序的屏幕的方法是什么。
I don't know if this is what you want, but you could try this: 我不知道这是否是您想要的,但是您可以尝试以下方法:
-open your Graphic/Design-Application (Photoshop, Gimp or whatever) -打开您的图形/设计应用程序(Photoshop,Gimp或其他)
-create a circle-button and save the image -创建一个圆形按钮并保存图像
-in Xcode, drag a button into your interface -在Xcode中,将一个按钮拖到您的界面中
-go to the attributes inspector of the button and set your image at background > image -转到按钮的属性检查器,然后将图像设置为background> image
Please, find my answer for your query. 请为我的查询找到我的答案 。 I hope that it will help you more.
希望对您有所帮助。
If you want to design a screen like favorite contact app on apple-watch, then the WWDC video link given in my answer will definitely guide you. 如果您想在Apple Watch上设计喜欢的联系人应用程序之类的屏幕,那么我的答案中给出的WWDC视频链接肯定会为您提供指导。
I have designed app with a circular menu which is not exactly same as the apple's favorite app, But it has almost have a circular view with statically. 我设计的应用程序具有圆形菜单,与苹果最喜欢的应用程序并不完全相同,但是它几乎具有静态的圆形视图。 For that, I have used Groups in horizontal layout for each horizontal item with proper alignment of inside groups.
为此,我对每个水平项目使用了水平布局中的“组”,并正确对齐了内部组。
You can achieve this using group, 您可以使用组来实现,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.