【发布时间】:2011-04-22 12:17:28
【问题描述】:
我在编译时遇到了这个错误,不知道为什么,但似乎来自它的另一个问题是模拟器的方向是横向的(这是我想要的)但是屏幕的 x/y 位置坐标仍然认为他们是纵向的,所以模拟器以横向显示,但绘制的图形就像纵向一样,这就是我的 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>
【问题讨论】:
标签: iphone xamarin.ios orientation simulator