简体   繁体   中英

Button with icon on Apple Watch

I'm creating an App for Apple Watch which has a menu with two buttons like the Instagram App does. I'm wondering how you can put an Image file and text inside one button.

(It's not two separate objects as both image and text grey out when you click it.)

Instagram 屏幕截图显示带有图标和文本的按钮

The only thing I can think of is that the icon and text were created as an image file and used as the background image of the button.

Could there be another way?

  • Add a group element and in the Layout property choose Overlap
  • now all objects in the group are stacked

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM