NSString
文字列「88:88:88」とまったく同じ量のピクセルスペースを使用するために、「hh:mm:ss」の形式でを使用したいと思います。それは可能ですか?
今私は使用しています:
// ...
NSMutableString * strS = [[NSMutableString alloc] initWithFormat:@"%d", Seconds];
if (Seconds<10){
[strS insertString:@"0" atIndex:0];
}
// Make the time to show
[ClocklLabel setText:[NSString stringWithFormat:@"%2@:%2@:%2@", strH,strM,strS]];
成功しませんでした!