瀏覽代碼

add condition simulator for Store Review

Marino Faggiana 6 年之前
父節點
當前提交
116a48d8de
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      iOSClient/AppDelegate.m

+ 2 - 0
iOSClient/AppDelegate.m

@@ -225,9 +225,11 @@
     [self logUser];
     
     // Store review
+#if !TARGET_IPHONE_SIMULATOR
     NCStoreReview *review = [NCStoreReview new];
     [review incrementAppRuns];
     [review showStoreReview];
+#endif
     
     return YES;
 }