我沒有關於目標c變量參數函數的清晰想法。我想寫一個函數,它將採用一個nlsog類型的參數,但有時我會在該函數中使用NSLog。我怎樣才能做到這一點? -(void) printStatus:(NSString*)status, ...
{
// I want use use NSLog with all these parameter here.
// some gui l
我想獲取用戶當前的位置,我發現該解決方案在計算器中:How to find your current location with CoreLocation。 但儘管這種解決辦法的我得到的消息上的NSLog: 2013-05-07 23:57:56.962 XXXXX[1951:c07] Latitude:(null),Longitude:(null) 這裏是我做了什麼: 在頭文件: #import