小编Gab*_*uto的帖子

SKStoreProductViewController和GKHostedAuthenticateViewController没有iPhone横向模式

我正在实施StoreKit应用内应用程序购买界面,虽然看起来SKStoreProductViewControlleriPad上的手柄风景,但我的iPhone上的应用程序似乎没有这样做(它是通用的).

界面SKStoreProductViewController是如此有限,我似乎无法以VC任何方式操纵. 有没有其他人遇到这个?任何解决方法?

当我运行在iPad上运行的代码时,SKStoreProductViewController它从左侧进入,大约一英寸,并在那里挂起直到被解雇.它看起来很实用,但它会让解雇时出现的VC混乱.

这是代码:

// Set up the store vc (creating it if not already done)
if (self.storeVC == nil) self.storeVC = [[SKStoreProductViewController alloc] init];
self.storeVC.delegate = self;
NSDictionary *params = [NSDictionary dictionaryWithObject:appID forKey:SKStoreProductParameterITunesItemIdentifier]; 

// Set up a HUD in case connecting to the store takes a while
[MBProgressHUD showHUDAddedTo:self.view animated:YES]; 

[self.storeVC loadProductWithParameters:params
                        completionBlock:^(BOOL result, NSError *error) {
       [MBProgressHUD hideHUDForView:self.view animated:YES];
       if (result) {
           [self presentViewController:self.storeVC animated:NO completion:^{
           }];
       }
  }]; …
Run Code Online (Sandbox Code Playgroud)

iphone landscape storekit gamekit ios6

10
推荐指数
1
解决办法
3026
查看次数

为什么我在ipa中收到两个dsym文件?

有没有人在他们的ipa中看过两个dsym文件?(注意:如果有帮助的话,下面的两个文件如下图所示.)我不清楚为什么会发生这种情况,当我象征我的崩溃日志时,行号根本没有匹配.我尝试分别进行符号化,两者都有不同的错误行号.我在Yosemite上使用XCode 6.1.1.感谢您的任何信息!

2个dsym文件

xcode ios ipa dsym

1
推荐指数
1
解决办法
1869
查看次数

标签 统计

dsym ×1

gamekit ×1

ios ×1

ios6 ×1

ipa ×1

iphone ×1

landscape ×1

storekit ×1

xcode ×1