In my view i have ImageView.If i click ,it should open nextview.
Please help in this issue.
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.
override
method of your UIImageView (UIView, actually, but UIImageView is a subclass of UIView). This will handle UIImageView touches, so when user taps on this UIImageView, this method will be invoked.
In this method you should show next view with
if you are subclassing your view controller from UINavigationController, or
If you are sublclassing if from UIViewController.
Your_UIImageView delegate should be set to UIViewController object.