Changing Label On Click | Iphone apps xcode, source code
Uploader Comments (rfausak)
Video Responses
All Comments (6)
-
can you post a tutorial of when you press the button once it displays a text and if you press the button again it displays reverse of the text and then the cycle continues.. it will be really helpful thanks
-
Awesome tutorial, came in handy and fixed my issue! thanks for posting this!!!!
-
I like your example using a button and label where you click it to change the text question to get an result text and stays changed after the click. Was looking for this. I was wondering if and how you could press the same button a second time (or more) to change the label again with a different text (or images) like an array and maybe loop to the first text/label? Am I making sense? I thought the example and the explanations where useful. A little blurry when typing code. But good video.
Is there a way you can add one more label to appear with a different text after clicking the button again and then maybe looping it?
Thejj1010 2 years ago
Yes, Definitely. I can post a tutorial if you would like. What differences in label are you looking for? Also, how did you like the overall video quality?
rfausak 2 years ago
yea, just basically copy and paste the code from the tutorial, and add a count to keep posting it until a certain number is reached.
rfausak 2 years ago