I am implementing iCarousel in my app but somehow can’t figure out which view is in front when the carousel has stopped animating.Thanks for any help.
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.
When the iCarousel stops moving it calls the following delegate method:
In that method, you can get the index of the frontmost view by calling
If you need the actual view itself, just pass that to the following method:
Or use this property, which does the same thing internally:
Does that help?