【问题标题】:Multiple target Xcode 7.3 iOS 9+ app Launch screen xib issue多目标 Xcode 7.3 iOS 9+ 应用启动屏幕 xib 问题
【发布时间】:2016-10-05 12:05:05
【问题描述】:

我有一个 xcode 项目,其中多个目标也有多个图像资产。

应用程序中的所有 UIImageView 都可以正常工作,并从指定的目标资产中获取相应的图像

但在 LaunchScreen.xib 中,我添加了一个 UIImage 作为我的背景图像,我从图像资产中分配了一个图像

|
|-Client1-ImageAssets (target 1)
| |-SplashScreen.jpg
|-Client2-ImageAssets (target 2)
| |-SplashScreen.jpg
|-Models (Multiple targets)
|-View (Multiple targets)
|-Main.Storyboard (Multiple targets)
|-LaunchScreen.xib (Multiple targets)

以上只是概述。

在 LaunchScreen.xib 我有一个 UIImageView 链接到 SplashScreen.jpg

请帮忙

【问题讨论】:

    标签: ios iphone xcode uiimageview ios9


    【解决方案1】:

    看来我必须重新启动我的手机/模拟器才能让它工作。

    重新启动您的设备,启动屏幕将是新的。对于每种情况,您都必须重做。即使卸载并重新安装也无法修复它。

    在这件事上浪费了太多时间

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-12-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多