0
をやっていない、私のボタンの作成です:レートは、ボタン(App Storeで私のアプリへのリンク)ここでは何も
#define YOUR_APP_STORE_ID XXXXXXXXXX
// and yes, I have my actual number in the code
/*
*
*
*
/
static NSString *const iOS7AppStoreURLFormat = @"itms-apps://itunes.apple.com/app/id%d";
static NSString *const iOSAppStoreURLFormat = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d";
-(IBAction)rateButton:(id)sender {
[NSURL URLWithString:[NSString stringWithFormat:([[UIDevice currentDevice].systemVersion floatValue] >= 7.0f)? iOS7AppStoreURLFormat: iOSAppStoreURLFormat, YOUR_APP_STORE_ID]];
}
がどのように私はなってるということです:
- (void)rateInfo {
UIButton *rate = [UIButton rateCreate];
[rate addTarget:self action:@selector(rateButton:) forControlEvents:UIControlEvenTouchUpInside];
[self.view addSubview:rate];
rate.frame = _mainLayout.rate;
}
ここrateButton:
方法がありますこれを書くには?レートボタンをタップすると、URLが生成されますか?もしそうなら、私はなぜそれが機能していないのかわかりません。
2つのこと:
1. My app just went live on the store (it's a puzzle game called Twinstones if you want to try it out).
2. I'm signed into Apple when I'm trying to connect