• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CALayer: Animation using actions property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CALayer: Animation using actions property


  • Subject: CALayer: Animation using actions property
  • From: "Bhatnagar, Arvin" <email@hidden>
  • Date: Mon, 18 Apr 2011 22:49:00 -0400
  • Acceptlanguage: en-US
  • Thread-topic: CALayer: Animation using actions property

Hi All,

This is probably a simple question for someone other than I.

I have a very simple CALayer which is a simple plain layer with a white background. I then create a CABasicAnimation and add it to the actions property to animate the @"opacity". From here I setup a timer to fire and toggle the opacity between 0 and 1 which animates.

My issue is, when I go to resize the window the animation halts. Anybody know why this occurs and if I can allow the animation to continue even if I resize the view that the layer resides in? It's probably something small and simple, but just don't know what it is and can't find it in the documentation.

Oh yeah, my later tree is setup as such:

[CALayer rootLayer]
[view setWantsLayers:YES]
[[view layer] addSublayer:mBasicLayer]

Thanks,
Arvin
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CALayer: Animation using actions property
      • From: David Duncan <email@hidden>
    • Re: CALayer: Animation using actions property
      • From: "Bhatnagar, Arvin" <email@hidden>
References: 
 >Re: iOS rotate to interface orientation problem (From: Leon Qiao <email@hidden>)

  • Prev by Date: Find network mounted DVD's
  • Next by Date: Re: system services ?
  • Previous by thread: Re: iOS rotate to interface orientation problem
  • Next by thread: Re: CALayer: Animation using actions property
  • Index(es):
    • Date
    • Thread