2011年11月28日 星期一

Apple Reject: sweepstakes and contests

Problem:
Official rules for sweepstakes and contests, must be presented in the app and make it clear that Apple is not a sponsor or involved in the activity in any manner

Solution:
在App裡注明Apple和sweepstakes or contest無關

2011年11月19日 星期六

設定Lock畫面顯示的播放音樂資訊 - 戴佩妮[回家路上]App解密




MPNowPlayingInfoCenter *playInfo =[MPNowPlayingInfoCenter defaultCenter];

UIImage *albumArtImage = [UIImage imageNamed:@"Default.png"];

MPMediaItemArtwork *albumArt = [[MPMediaItemArtwork alloc] initWithImage:albumArtImage];

NSArray *objs = [NSArray arrayWithObjects:@"我在乎" ,@"戴佩妮", albumArt, nil];

NSArray *keys = [NSArra arrayWithObjects:

MPMediaItemPropertyTitle, MPMediaItemPropertyArtist,

MPMediaItemPropertyArtwork, nil];

playInfo.nowPlayingInfo = [NSDictionary dictionaryWithObjects: objs forKeys:keys];