-
Demystify and eliminate hitches in the render phase
When you implement complex view hierarchies in your app, you may run into animation hitches. Demystify how your views are turned into pixels during the render phase, and learn how to use Instruments to uncover issues in this part of the render loop. Discover how to eliminate offscreen passes and leverage Xcode optimization opportunities in order to provide a great experience when using your app.
Ressources
Vidéos connexes
WWDC23
Tech Talks
-
Rechercher dans cette vidéo…
-
-
0:01 - Shadow Path
// Setup shadow properties view.layer.shadowColor = UIColor.black.cgColor view.layer.shadowOpacity = 0.5 // Set a shadow path on a basic layer view.layer.shadowPath = UIBezierPath(roundedRect: view.layer.bounds, cornerRadius: view.layer.cornerRadius).cgPath
-