【发布时间】:2012-09-24 06:21:31
【问题描述】:
我在 App Store 中有一个应用程序,我需要为 ios6 和 iphone5 更新该应用程序。当现有应用程序已经提交到应用商店时,需要采取哪些步骤来更新它?
我在 mac 中安装了 xcode4.5。如果我在 iOS 6 中构建应用程序,iOS 5 是否支持它?我应该如何制作同时支持 iOS 5 和 iOS 6 的应用程序?
编辑
public static bool IsTall
{
get {
return UIDevice.CurrentDevice.UserInterfaceIdiom
== UIUserInterfaceIdiom.Phone
&& UIScreen.MainScreen.Bounds.Height
* UIScreen.MainScreen.Scale >= 1136;
}
}
static UIImage tableViewBackgroundImage = null;
public static UIImage TableViewBackgroundImage
{
get
{
if (tableViewBackgroundImage == null)
tableViewBackgroundImage = IsTall
? UIImage.FromFile("Images/TableViewBackground-568h@2x.png")
: UIImage.FromFile("Images/TableViewBackground.png");
return tableViewBackgroundImage;
}
}
我用上面的代码来制作iphone 5的应用程序。但是我不知道把上面的代码放在哪里。任何人都可以使用这个代码,请与我分享。
提前致谢。
【问题讨论】: