iOS, Cocoa, AppiRater - How to localized Cancel Button for SKStoreProductViewController

◇◆丶佛笑我妖孽 提交于 2019-12-08 01:02:02

问题


How can I localize the "Cancel" button in the AppiRater view controller that is popped over?

I was looking in the AppiRater code... it makes us of the SKStoreProductViewController like this:

SKStoreProductViewController *storeViewController = [[SKStoreProductViewController alloc] init];

Basically I want to something like this:

[storeViewcontroller.navigationBar.cancelButton setText:NSLocalizedString(@"Cancel", nil)];

Any ideas?


回答1:


Appirator? Rating SDK?

Here is localized version of Appirator.

Make sure you added all .lproj folder to your Xcode project.



来源:https://stackoverflow.com/questions/16121978/ios-cocoa-appirater-how-to-localized-cancel-button-for-skstoreproductviewcon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!