How can we create alerts for cells in tableviews.What are the methods used to implement them
Share
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.
Alerts? You need to be more specific. If you are talking about
UIAlertView, you can do it like this:You are showing an alert when you click a cell. Also notice that you are setting that alertView’s delegate as self. So, your class needs to comply with the
UIAlerViewDelegate, if you want to add some logic after the user selects a button.