im new to iphone sdk programming, and have been stuck on this problem for days.
i want a button that toggles a uitextview. first click shows the textbox, second click hides it and so on.
it sounds very simple
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.
Create an instance of UIButton, and set its target to a method that will toggle the UITextView instance’s hidden property. For example, assume that you have a UITextView instance variable named disappearingTextView.
Then, in the toggleTextViewHidden method, toggle the disappearingTextView’s hidden property…