2011年12月9日 星期五

UITableView Grouped樣式的圓角黑邊問題

將tableView的背景設為clearColor時,
若是從Interface Builder設定,
將出現黑邊問題。

從程式碼設定則無此問題





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