cocoa touch - Fade from iPhone default bitmap into main app -


The easiest / quickest to degrade slowly (0.5 seconds) from

default.png / What is the most effective way In the initial app view?

My initial try, which does not work so well .. Saturday night, let's see that we can do better :)

  UIImageView * WhiteoutView = [[UIImageView alloc] initWithFrame: self.view.frame]; // dealloc later this ?? WhiteoutView.image = [UIImage image named: @ "default.png"]; WhiteoutView.alpha = 1.0; [Self.view.frame addSubview: whiteoutView]; [UIView startup permissions: zero reference: zero]; [UIView Set Animation Del: 0.5]; WhiteoutView.alpha = 0; [UIView commitAnimations];  

about it:

  UIImageView * whiteoutView = [[[UIImageView alloc] initWithFrame: self.view.frame] autorelease]; If (whiteoutView! = Zero) {whiteoutView.image = [UIImage imageNamed: @ "Default.png"]; [Self.view addSubview: whiteoutView]; [UIView startup permissions: zero reference: zero]; [UIView Set Animation Duration: 0.5]; WhiteoutView.alpha = 0.0; [UIView commitAnimations]; } (The things you mistake were set were the Animation Deal vs. Set Animation period, is not releasing the view properly and instead of seeing yourself self.view.frame Trying to add the scene. The compiler should have to be caught for the last time. What happened?) 


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -