我们可以在单个 Watchkit 应用程序中创建多个概览界面吗?

编程入门 行业动态 更新时间:2024-10-28 02:28:02
本文介绍了我们可以在单个 Watchkit 应用程序中创建多个概览界面吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我正在尝试创建一个 WatchKit 应用程序,它需要以扫视的形式向用户显示多条信息.有没有办法在这样的应用程序中创建多个扫视.

I am trying to create a WatchKit App that needs to show multiple pieces of information to the users in form of glances.Is there a way to create multiple glances in such an app.

推荐答案

每个应用程序不能多看一眼

You cannot make more than one glance per application

但是没有什么可以阻止您创建一个概览,该概览将包含每种概览类型"的所有可能状态,然后在运行时执行概览的特定组件的隐藏/显示.

But nothing prevents you from creating one glance, that will contain all possible states of "each glance type", and then, in runtime perform hide/show of specific components of the glance.

Glance  
  Top Group
    State1
    State2 (hidden)
    StateN (hidden)    
  Bottom Group 
    State1
    State2 (hidden)
    StateN (hidden)

这篇关于我们可以在单个 Watchkit 应用程序中创建多个概览界面吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-26 21:38:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1142850.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   我们可以   应用程序   界面   Watchkit

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!