我们可以在单个 Watchkit 应用程序中创建多个概览界面吗? [英] Can we create multiple glance interfaces in a single Watchkit app?

查看:23
本文介绍了我们可以在单个 Watchkit 应用程序中创建多个概览界面吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个 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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆