0
傢伙即時得到這個基本的錯誤「初始元素不是常量」 ..沒能弄清楚哪兒我失敗了。下面是code.`initlializer元素是不恆定
@implementation myfirstflickrappViewController
NSString *const FlickrAPIKey = @"14c39d71001b0fb84d1dacb6049580ec";
NSString *const text = @"hello";
NSString *urlString =
[NSString stringWithFormat:
@"http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=%@&tags=%@&per_page=25&format=json&nojsoncallback=1",
FlickrAPIKey, text];
謝謝man..totaly工作 – kingston 2011-04-05 09:46:23