\t
関数 stringWithFormat で使用するときに、タブの長さまたはタブ位置を指定したいと思います。
buttonText3 = [NSString stringWithFormat:@"D:\t%ld:%02ld" , hoursAndMinutesDay.hours,hoursAndMinutesDay.minutes];
タブの後にバックスペースを使用しようとしましたが、これは機能しません。
[NSString stringWithFormat:@"D:\t%c%ld:%02ld", 0x0008, hoursAndMinutesDay.hours,hoursAndMinutesDay.minutes];
\t
前のテキスト\t
は文字によって幅が異なるため、代わりにいくつかのスペースを使用することはできません。