[xcode] In-App Purchase Rejected 問題

下面這段是APPLE 駁回的說明。

大致上是說內購項目(我這邊使用的是一次性購買),需要放上一個Restored的方式,以防使用者在其他裝置上

可以下載不需要在購買一次。

We found that while your app offers In-App Purchase(s) that can be restored, it does not include the required "Restore" feature to allow users to restore the previously purchased In-App Purchase(s), as specified in Restoring Transactions section of the In-App Purchase Programming Guide:

"...if your application supports product types that must be restorable, you must include an interface that allows users to restore these purchases. This interface allows a user to add the product to other devices or, if the original device was wiped, to restore the transaction on the original device."

To restore previously purchased In-App Purchase products, it would be appropriate to provide a "Restore" button and initiate the restore process when the "Restore" button is tapped by the user.

For more information about restoring transactions and verifying store receipt, please refer to the In-App Purchase Programming Guide.


不過我一直在SanBox測試中,遇到itunes connect  錯誤。在所有測試上面卻只有6.0 ,6.1可以動作。

網路上也有討論到,不過怎都沒個好的解決方法~~~




在這次的改版中,還遇到ios6.0載入game center直接crash,在5.0,5.1,6.1都沒問題。最後發現是

登入時的橫式版面所造成的。不過在iOS6.1並不會有錯誤,感覺蠻怪的。

最後是解決的方法。

1.是在設定上多選取Portrait,不過我的程式並沒有設計這個界面。




2.在appDelegate.m中加入

- (NSUInteger)application:(UIApplication *)applicationsupportedInterfaceOrientationsForWindow:(UIWindow *)window
{
    return (UIInterfaceOrientationMaskAll);
}



說實在的gamecenter實在有很多麻煩之處。很多時候是因為版本更新,新舊版本的判別問題,

常常為了一小個功能卡了好幾天@~@

沒有留言:

張貼留言