0
我試圖弄清楚什麼是錯我相信這是簡單的串聯,我必須在這裏失去了一些東西 - 見下面的代碼:將多個TEXT和變量連接成一個字符串iOS?
NSString *combinedValues = [NSString stringWithFormat:
@"I am at %@" self.dancePlace.text
@" Airport, and I will arrive on %@" danceDateValue,
@" from %@" timeIn,
@" to %@" timeOut,
@" at Terminal %@" self.danceTerminal.text
@" Gate %@" self.danceGate.text];
丁!謝謝,我只是把它按錯誤的順序排除了....謝謝! – MagicMiles
ops抱歉,錯誤的順序:) –
@MagicMiles如果答案解決了你的問題可以接受嗎? thx –