81st Day As An iOS Developer With No Experience

The same as yesterday, I learned so many things and finished important tickets - urgent fixes on my main project. As I've mentioned yesterday, the version 1.0 of the app.

I learned that a simple hack can solve your bug in your app. Our part time senior, sir P. taught me that yesterday. I was able to solve a certain ticket, which is unsolvable by me alone, because of that simple 'hack'. Well I believe that shouldn't be done in a big project. That thing called 'hack' is merely for quick fixing.

 Before I end this post, I would like to share the following code/solution for rating your app function. This Rate-Me function in iOS is so easy to implement on your app. It will basically open a url in your iOS browser for review and rating for your app. This is already tested and can support iOS 6 and 7 and above.
NSString * appId = @"{YOUR APP ID}";
NSString * theUrl = [NSString  stringWithFormat:@"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=%@&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software",appId];
if ([[UIDevice currentDevice].systemVersion integerValue] > 6) theUrl = [NSString stringWithFormat:@"itms-apps://itunes.apple.com/app/id%@",appId];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:theUrl]];

Post a Comment