objective c - How to reinitialize the view -
i have 1 view nstab, @ tabindex0 have buttons here hiding buttons when pressed on each one. @ last button hiding button , go tabindex1. in tabindex1 have button called return.when press button want go tabindex0 , display buttons is.i.e want reinitialize tabindex0.
there no direct way reinitialize view, unless dealing case can remove entirely , recreate reloading nib file.
in case, want call sethidden:no on of buttons. like:
for (nsview *subview in [[[mytabview tabviewitematindex:0] view] subviews]) [subview sethidden:no];
Comments
Post a Comment