I am having a view controller with one .xib file
On some particular button action, I need to load the view controller with button and on some other button action, I need to load the view with textfield.
Can I do this with single xib?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have two
UIViews. AddUITextFieldto oneUIView, say tView. Initially make tView hidden. In anotherUIView, say mView, add theUIButtons. When the particular button action been called, unhide the tView and hide mView. Hope this is your requirement!!