Trouble with ID in NSString
- by useboot
I am trying to create something interesting in my application. So, I created an UILabel and I want to output new value.
So, my code.
NSString *test = @"13";
self.UserAge.text = @"Your age is %@", test;
But it doesn't work.
In Console-Command Mode I can do it with NSLog();
My result is "Your age is %@". But I need to output "Your age is 13". What do I should do with name?
Sorry, if my question is easy for you. I am beginner. :)
Thank you everyone who will answer on my question.