In the view in IB, I have many elements (including the view itself). ONLY one element has a tag of 0, but the next line works for ANY UITextBox of another, except for a tag with a tag of 0. Note that only ONE UITextBox has a tag of 0, why:
(UITextField *) [self.view viewWithTag: 0]). Text = @ "foo";
Interestingly, when the event received for the element with the tag 0 is triggered, I can easily get the value Tag 0.
Is there a restriction on finding elements of tag 0?
source
share