【问题标题】:Storyboard what does the tag <animations/> mean?故事板标签 <animations/> 是什么意思?
【发布时间】:2015-08-28 01:41:59
【问题描述】:

当我打开故事板文件时,我已将我的 mac os 更新为 El Capitan 并使用 Xcode 6.3 版

&lt;animations/&gt;

标签被添加到所有子视图中。检查情节提要的xml。

<activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" hidesWhenStopped="YES" animating="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="njZ-Pf-Lyb">
                            <rect key="frame" x="150" y="274" width="37" height="37"/>
                            <animations/>
                            <color key="color" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
                        </activityIndicatorView>

那么标签 代表什么线索?我可以使用 Xcode 6.3 在 Yosemite 上运行相同的项目吗?

提前致谢。

【问题讨论】:

  • @JustinVallely 请检查两个问题的发布日期,然后再将其标记为重复。它会影响我的堆栈溢出配置文件。
  • 我很抱歉@AnkitJain。另一个有实际答案,因此适合链接到它。

标签: ios animation storyboard xcode6.3 osx-elcapitan


【解决方案1】:

不幸的是,您可能需要等待 Xcode 7.2 发布(或现在使用 7.2 Beta):

Xcode adds a lot of <animations/> tag in my storyboard and xib file

【讨论】:

    【解决方案2】:

    其实我也遇到过这个问题。幸运的是,这个标签不会影响最旧的操作系统和相同的 XCode 版本(对我来说是 6.3)。

    希望对您有所帮助。

    【讨论】:

    • 它没有解决问题!
    猜你喜欢
    • 2010-09-29
    • 2019-09-17
    • 2016-04-28
    • 2014-01-08
    • 1970-01-01
    • 2016-01-31
    • 2017-07-29
    • 1970-01-01
    相关资源
    最近更新 更多