i’ve got an UIImageView, now i want to repeat this image, that it always shows up again when scrolling left or right.
Little Example:

is this possible? it should feel like an infinite loop
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.
The word “infinite” rules out a
UISCrollViewor aCATiledLayer, obviously.I’d say the easiest way to achieve this is to initialize enough
UIImageViews to completely fill your screen (or scroll area), plus one, and implement your own dragging/scrolling system and recycle theUIImageViews as they go off one side of the screen to reappear on the other side. Because all theUIImageViews are the same image you shouldn’t ever have to worry about memory/cache management.