问题描述
可能的重复:
Xcode 显示旧的、已删除的 xib 文件
我的问题是:我已经更新了 Xcode 中的一个 xib 文件,它适用于 iPhone/iPad 模拟器,但是当我尝试在设备 (iPhone) 上运行时,它仍然显示旧界面.
My problem is: I have updated one of the xib file in Xcode, it works well for iPhone/iPad simulators, but when I try to run on device (iPhone), it still shows the old interface.
我尝试删除设备上的应用程序,在 Xcode 中清理项目并再次在设备上运行它.几次.但仍然显示旧的 xib 文件 UI.
I have tried delete the app on device, clean the project in Xcode and run it on device again. For several times. But still showing old xib file UI.
有人知道如何解决这个问题吗?
Does anybody know how to solve this issue?
推荐答案
如果清理项目目标并重新安装不起作用,请尝试更改设备的区域设置或重新启动它.
If clean project target and reinstall not work, try to change your device's locale setting or reboot it.
这篇关于Xcode:模拟器显示正确的 xib 界面,但在设备上,它显示旧界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!