if ([cell.imageView.image isEqual:[UIImage imageNamed:@"1.png"]]) {
// Do something 1
} else {
// Do something 2
}
Can this code be converted to for UIIScrollView?
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.
That depends, do you have a pointer to the item inside of the scrollView you want to co something with. If so you could change it like so (assuming all subviews of the scrollview are UIImageViews):