8
我刚刚添加SKStoreProductViewController并从我自己的UIViewController中提出它。 如果我旋转设备到横向模式 - 只头适合宽度,其他部分被截断SKStoreproductviewcontroller截断横向模式
....
NSDictionary *parameters = @{SKStoreProductParameterITunesItemIdentifier:[NSNumber numberWithInteger:[productID integerValue]]};
[self.storeViewController loadProductWithParameters:parameters
completionBlock:^(BOOL result, NSError *error) {
if (result)
{
[presentingViewController presentModalViewController:self.storeViewController
animated:YES];
}
handler(result);
}];
是否有可能在风景模式,以适应“产品页面”,以让它看起来不错?
Env:iPhone 4S IOS 6.0.1
iOS 7 StoreProductViewController仅支持肖像 – Injectios