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 7819569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:00:12+00:00 2026-06-02T07:00:12+00:00

There was another post with this question but none of the solutions worked. My

  • 0

There was another post with this question but none of the solutions worked. My problem is that I have a couple of imageViews that I need to change the images of. It seems weird if I abruptly change them so I was wondering whether there was a way to fade the new image in.

This is when I set one of the imageViews.

self.imageView1.image = [UIImage imageNamed:[NSString stringWithFormat:@"%@.jpg", [images objectAtIndex:newArray[0]]]];

Thanks

  • 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-06-02T07:00:17+00:00Added an answer on June 2, 2026 at 7:00 am

    Fading in an imageView can be achieved in multiple ways. If you could post your code, (how do you change the view without fading-in now) others will be able to suggest easiest approach

    Edit: Try animating the alpha like in the code below:

    self.imageView1.image = [UIImage imageNamed:[NSString stringWithFormat:@"%@.jpg", [images objectAtIndex:newArray[0]]]];
    self.imgView1.alpha=0;
    [UIView animateWithDuration:2.0
                          delay:0.1
                        options: UIViewAnimationCurveLinear
                     animations:^{
                        self.imgView1.alpha=1;
                     } 
                     completion:^(BOOL finished){
                         NSLog(@"Done!");
                     }];
    

    You can control the values of animateWithDuration and delay to suit your app

    Let us know if it works

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

Sidebar

Related Questions

There is another possibly related question on this but it didn't have answers and
I know there is another question about this here but this just isn't working
Effort I've read this question , but I still think there has to be
There is another similar question to mine, but the discussion veered away from the
I have alluded to this issue in my other question , but i think
This is probably a very simple and stupid question to ask, but I have
Well I know that this question may be asked many times but certainly I've
I know this question seems hacky and weird, but is there a way to
Similar to another post I made, this answers that post and creates a new
I hate to post another SimpleDateFormat question but I cannot find my answer on

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.