Xcode 4 iPad simulator - changes not showing
When I run a basic HelloWorld app using iPad simulator, none of my GUI changes are showing up. For example, I added a label and a text field, and when I run using the iPhone 4.3 simulator, I see these changes. However, when I run using the iPad 4.3 simulator, 开发者_C百科I see the original "My Universal App on IPad" text that was part of the boiler plate xib that XCode generated when I created the project.
What am I doing wrong?
Sometimes there are issues with syncing resources - if you either delete the app from within the simulator, or just do a reset on the simulator all should be well.
If that (or possible a clean and re-build) doesn't sort it, then I suspect the problem lies within the resource handling code itself.
I tried using a different project type and it seemed to work ok on the iPad simulator. Not sure why though.
精彩评论