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

  • SEARCH
  • Home
  • 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 6575367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:22:42+00:00 2026-05-25T15:22:42+00:00

I have 10 UIimages and 10 UIButtons. M assigning Images to buttons via array.

  • 0

I have 10 UIimages and 10 UIButtons. M assigning Images to buttons via array.

I want my to hide and show the images only on button Click.

Is there any way to hide and show the UIImage whisch is assigned to button via array?????

  • 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-25T15:22:43+00:00Added an answer on May 25, 2026 at 3:22 pm

    assign for every UIImage and UIButton the same Tag by setTag proprieties then when you click on a specific UIButton search the array and tag the tag that related to the selected UIButton, Then use the retrieve tag to retrieve the UIImage and use the proprieties setHidden TO Hide/Show it.

    and surely you have to use UIImageView instead of UIImage.

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

Sidebar

Related Questions

i have created two UIButtons and only play button is appearing on the UIToolbar.
I have several UIImages and I want to create a video from them. I
I have a IBOutletCollection setup that contains 8 UIButtons. All of the buttons have
Hello guys i have cells in tableview, but there are two different UIButtons to
board[i] is an array of UIButtons that I have created programmmatically, and I can't
I want to change the look of the button with two images, one Normal
I have a memory leak from 3 UIImages the problem is I can't just
I have an UIImage (dimension 320x480) that I want to display with a much
I want to have a UIImage as a background image on a UIView. Here
I have UIAlertView which holds an UIImage and two default buttons OK and Cancel

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.