2
编译时出现错误,不知道为什么,但似乎来自另一个问题是模拟器的方向是横向(这是我但是屏幕坐标的x/y位置仍然认为他们是在肖像中,所以模拟器显示在landsacpe中,但是图形被绘制得像纵向一样,这就是我的info.plist的样子:警告:支持的方向不匹配对(Info.plist)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
</array>
</dict>
</plist>