简体   繁体   English

在iOS7中可能对应用程序进行评分和审查?

[英]Rate and review within an app possible in iOS7?

I have heard that iOS7 allows users to rate and review an app within that app, avoiding the need to redirect to appstore and leaving the app. 我听说iOS7允许用户对该应用程序中的一个应用程序进行评分和审查,而无需重定向到应用程序商店并离开该应用程序。 So far, I have only found the difference in the URL links for the rate feature in itunes as mentioned in ITunes review URL and iOS 7 (ask user to rate our app) AppStore show a blank page , but not how to stay inside the app. 到目前为止,我只发现了iTunes中速率功能的URL链接中的差异,如ITunes评论URL和iOS 7(要求用户对我们的应用进行评级)中所述,AppStore显示空白页面 ,但没有显示如何留在应用内部。

I'm using Appirater in my app and integrated the new url and app goes to appstore for rate/review. 我在我的应用程序中使用Appirater,并集成了新的网址,并且该应用程序进入appstore进行评分/审查。

Can anybody tell me if this new feature is there and how to implement it? 谁能告诉我这个新功能是否存在以及如何实现?

I think you're looking for the SKProductViewController. 我认为您正在寻找SKProductViewController。

You can present a SKProductViewController with the following code: 您可以使用以下代码显示SKProductViewController:

NSDictionary *parameters = [NSDictionary dictionaryWithObject:@"YOURITUNESAPPID" forKey:SKStoreProductParameterITunesItemIdentifier];

SKProductViewController *productViewController = [[SKProductViewController alloc] init];
[self presentViewController:productViewController animated:YES completion:nil]];

This assumes that you're in a UIViewController subclass and know your iTunes application identifier. 假设您在UIViewController子类中,并且知道您的iTunes应用程序标识符。 This will display a model viewController displaying the AppStore entry for that application. 这将显示一个模型viewController,其中显示该应用程序的AppStore条目。

Users are able leave ratings from that viewController. 用户可以从该viewController留下评分。 Haven't been able to write a review though. 不过还没有写评论。

I had the same issue using Appirater, I have partially solved the proplem in this way 我在使用Appirater时遇到了同样的问题,以这种方式部分解决了问题

define the template for iOS7: 定义iOS7的模板:

NSString *templateReviewURLiOS7 = @"itms-apps://itunes.apple.com/app/idAPP_ID";

make this chnges on the rateApp method 在rateApp方法上进行更改

+ (void)rateApp {

    .
    .
    .

// this URL Scheme should work in the iOS 6 App Store in addition to older stores
NSString *reviewURL = [templateReviewURL stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%@", _appId]];

   // iOS 7 needs a different templateReviewURL @see https://github.com/arashpayan/appirater/issues/131
   if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0) {
       reviewURL = [templateReviewURLiOS7 stringByReplacingOccurrencesOfString:@"APP_ID" withString:[NSString stringWithFormat:@"%@", _appId]];
   }

    .
    .
    .
}

this will open the rate page in iOS6 as was in the past, and the app page in iOS7 这将像过去一样在iOS6中打开费率页面,并在iOS7中打开应用程序页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 可以在应用程序中评价 iOS 应用程序吗? - Possible to rate an iOS App within the App? App Store留下评论/评分iOS 8 Swift - App Store Leave a Review/Rate iOS 8 Swift 如何在iOS 7的我的应用程序中添加(撰写评论)/(为此应用评分) - How to add (write a review) / (rate this app) in my app on iOS 7 是否可以从本机ios应用程序(评级/复审)FB页面? - is it possible to (Rate /review) FB page from native ios application? 在我的iOS应用中添加将评论评分功能写入我们 - Add write a review rate us feature to my iOS app 是否可以为App Store上传iOS6和iOS7的屏幕截图? - Is it possible to upload screenshots for both iOS6 and iOS7, for App Store? 在应用程序中进行评分和评论可将用户带到应用程序商店,从而离开我们的应用程序-完全不希望的 - Rate and Review within an app take the user to app store thus leave our app - Totaly Undesired 具有不正确IDFA信息的iOS应用程序是否可能通过App Store审核? - Is it possible that an iOS app with improper IDFA information passes App Store review? 是否可以通过 App Store 更改正在审核的 iOS 构建 - Is it possible to change the iOS Build Under review Over App Store 用于在iOS中查看应用程序的URI - URI to review the app in iOS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM