How do I fade my Core Animation application to a fullscreen black screen first like Front Row?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
This isn’t actually a CoreAnimation feature, but it is provided by Quartz. When switching to fullscreen mode, you can use the
CGDisplayFade()function to get the system to do a smooth fade over some number of seconds. The Apple docs provide sample code on exactly how to do this:If you invoke the fade synchronously, you can then start scheduling your CoreAnimation right after the fade has completed.