2011年12月7日 星期三

戴佩妮Penny回家路上App上架了




Penny,種子音樂,彼得潘,王薔聯合製作。

Apple Reject:Use of protected 3rd party material

problem:
Use of protected 3rd party material (trademarks, copyrights, trade secrets, otherwise proprietary content) requires a documented rights check which must be provided upon request

solution:
在一開始上架時,於review notes裡注明擁有版權。或是在被reject時,於Resolution Center裡說明。

2011年12月5日 星期一

App的死亡 (App程式設計入門第二版預告)

8-3 App的死亡
沒有不老的容顏,也沒有不死的App。造成App死亡的原因,主要有以下幾種:
1. 使用者按下home按鈕,讓App進入沉睡模式。然後再狠心地雙擊home按鈕,進入殺手模式,殺了App。

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];


2011年9月17日 星期六

繼承的大忌 – 多重繼承

彼得潘有段時間鑽研武術,投入了武當門下,學習太極拳。於是即使彼得潘對於茅山派的殭屍術也頗有興趣,但還是得遵守中國傳統的師父只能有一個法則。在Objective-C裡,也有著如此遵師重道的好傳統,只允許單一繼承。