【问题标题】:is it possible to scroll multiple groups horizontally in Apple Watch App?是否可以在 Apple Watch App 中水平滚动多个组?
【发布时间】:2015-12-17 09:54:25
【问题描述】:

是否可以水平滚动多个组(不使用页面基础导航),每个组都包含子对象/控件?类似于在 iOS 的 UIScrollview 中添加多个 UIView。 我知道它可能是垂直的,因为当它的 size(Height) 属性设置为“size to fit content”时,组会扩展它的高度以适应它的内容,但它不起作用当我们将 size(Width) 属性设置为“size to fit content”时。

【问题讨论】:

    标签: objective-c swift xcode7 watchkit watchos-2


    【解决方案1】:

    没有。 “size to fit content”只会强制组适合屏幕,不多不少。
    WatchOS 2 不允许内容“在屏幕外” //大于可见视图。

    【讨论】:

      猜你喜欢
      • 2015-10-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-09
      • 1970-01-01
      • 1970-01-01
      • 2017-03-16
      相关资源
      最近更新 更多