hi all how to implement code for displaying different images randomly in a row row. Each row must be have 10 images upto six rows so help me to solve the problem.
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.
I’am not a pro programmer but i also implemented something similar to what you want
You can give a integer tag to every image using
Image-i.tag=i , then
use the function int m=(arc4random()% numOfImages);
to generate a random number and use the image with that tag.
hope this help’s.