ESD electrostatic protection diode silk print query, SOD-323 packaging model

2022-12-26   ES  

iOS-APP jump to the AppStore score

app jump to the App Store scoring interface

Recent application to add the APP scoring function. Check on the Internet how to directly jump to the App Store scoring address. It is found that most articles are said to be previously modified. The current way is to prevent yourself from forgetting.


Jump to the AppStore score, there are two ways:

One is jumping out of the application, jumping to AppStore, and scoring;

The other is a built -in appstore in the application.

ps: appid can be obtained in the application interface in https://ituneSconnect.apple.com

1. Jump out of the application, jump to AppStore, and score

(Appid can be found in iTunece)

2. In the application, the built -in appstore is scored

Apple provides a framework Storekit.Framework, imports Storekit.framework, add head files #import to the controller that needs to be jump, and implement the proxy method: <SKSTOREPRoductViewControllerDelegate >

// Custom method

– (void)loadAppStoreController

{

// Initialization controller

SKStoreProductViewController*storeProductViewContorller = [[SKStoreProductViewControlleralloc]init];

// Set the proxy request as the current controller itself

storeProductViewContorller.delegate=self;

[storeProductViewContorllerloadProductWithParameters:@{SKStoreProductParameterITunesItemIdentifier:kAppId}completionBlock:^(BOOLresult,NSError*error)   {

if(error)  {

NSLog(@”error %@ with userInfo %@”,error,[erroruserInfo]);

}else{

// modal pop -up appStore

[selfpresentViewController:storeProductViewContorlleranimated:YEScompletion:nil];

}

}];

}

// appstore Cancel the button to listen to

– (void)productViewControllerDidFinish:(SKStoreProductViewController*)viewController

{

[selfdismissViewControllerAnimated:YEScompletion:nil];

}

source

Related Posts

PTA 11-Application and login of Shalement 3 QQ account (detailed explanation)

linux virtual network device tun/tap

List collection The same object (one or more attributes) in the collection of attributes returns the list and is sorted and output PSY according to the object attribute

Bugkuctf-WEB Title Ex-Girlfriend Binbin is polite AM

ESD electrostatic protection diode silk print query, SOD-323 packaging model

Random Posts

2019 CCF Recommended Journal List

Vue project often ignored tips Rainbow

PYQT5 Chinese File Dialog box QFILEDIALOG The solution to collapse after calling

CAMUNDA and Spring Boot Integration (3)-Camunda Engine Properties DEMI

Drag -Drag progress bar display progress