0

I'm interested to making a "fade effect" like Foursquare app. I want the main view to fade in.

How can I do this?


Sincerely I don't know what should I use. If anyone have the Foursquare's app on his iPhone, please open and see what I mean.

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880

3 Answers3

1

You should look at these answers:

How can I display a splash screen for longer on an iPhone?

This is what I've used in almost all of my apps:

http://iphoneinaction.manning.com/iphone_in_action/2009/05/creating-a-splash-screen-splashview-11.html

Community
  • 1
  • 1
Jeffrey Berthiaume
  • 4,054
  • 3
  • 35
  • 45
0

Displaying a "splash screen" and using the "fade effect" are really two different questions. As for fading, UIView has a bunch of built-in animations you can use which is provided by Core Animation. Look into the UIView docs Apple provides for these type of view animation.

raidfive
  • 6,603
  • 1
  • 35
  • 32
0

The splash image is white with a fake nav controller on the top.

When the app finishes launching, the splash image is redisplay on top.

The typical UIView elements are added beneath the second splash image.

When this is finished, the second splash image transparency is animated to fully transparent and thus causes a "fade effect".

bbarnhart
  • 6,620
  • 1
  • 40
  • 60
  • I mean the screen with "JOIN NOW" and "LOG IN". When it appears there is a "fade effect." Programmatically, how can I do this? Thanks dude. – Joaquin McCoy Nov 18 '10 at 20:36
  • 1
    Still the same. Try this. Add a button onto a UIView. Then add another UIView with a white background that fills the entire screen. The button is now hidden. Next, write some code that animates transparency of the white background UIView all the way to fully transparent. – bbarnhart Nov 19 '10 at 13:49