I am trying my first iphone app. I am stuck now. I have two label that display seperate random numbers. I used a button and IBAction to generate the numbers then pass them to the label. Now I need to determine when the two numbers match and then print “match” in another label. I am trying all kinds of different things but somehow I am missing something. If anyone can help explain how to do this form a code point of view and hooking it into interface builder that would be awesome! Thanks
Share
In the method where you get and show the random numbers you simply compare them and change the text in the third label accordingly.