Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6768731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:06:33+00:00 2026-05-26T15:06:33+00:00

In my app, I want to pick a random image. Each image that I

  • 0

In my app, I want to pick a random image. Each image that I want to pick that is random is like: Myimage1, Myimage2, Myimage3, etc….

So what I do is make an array but the thing that I am concerned about that might be inefficient.
So instead of adding images like MyImage1, Myimage2, Myimage3 in my array manually.

Is there an easy way to add all images that start with: Myimage then add them to the array like that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:06:34+00:00Added an answer on May 26, 2026 at 3:06 pm

    take the rand function to generate the numbers then by using the string appending you can do

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use push notification in my app.i want to know that do
I am writing a web app to pick random lists of cards from larger,
I want to pick up a property file app.properties NOT from the class path
I really want to create a stunning-looking GUI desktop application that looks like, for
Hello I would like to have my app pick a randome XIB file to
I have an Array of MKAnnotation objects called arrAnnotations . I want to pick
I'm creating an app for the android OS that allows the user to pick
I recently wanted use regex in Cocoa app. But I found that Cocoa does
I have an iPhone app that uses a ABPeoplePickerNavigationController to pick out a contact.
I am working on a very simple app that will let user to pick

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.