Archives for: "April 2014, 28"
iOS: Print "%" in Label
'%' is a function word in Objective C, such as '%d" to print a number, How to print a '%' in a string? that is easy, just '%%'
Codeself.txtPercent.text= [NSString stringWithFormat:@"%d%%", (int)sender.value]; more »
Tags: ios