Document Explanation:
/* Whentrue, theLayer isRendered asA bitmapinch its LocalCoordinate *Space("Rasterized"), Then theBitmap iscomposited into the* Destination ( with theMinificationfilter andMagnificationfilter * Properties of theLayer appliedif theBitmap needs scaling). * Rasterization occurs After theLayer ' s filters andShadow effects * is applied, but before theOpacity modulation. As an implementation * detail theRendering engine may attempt toCache andReuse the* Bitmap fromOne frame to theNext. (Whetherit does or notwould have * no affect on theRendered output.) * * Whenfalse theLayer iscomposited directly into theDestination * Whenever possible (however, certain features of theCompositing * model may force rasterization, e.g adding filters). * * Defaults toNO. Animatable. */
When Shouldrasterize is set to true, the layer is rendered as a bitmap and cached, and will not be rendered again the next time it is used. The realization of the fillet itself is to do color mixing (blending), if every time the page comes out blending, consumption is too large, then shouldrasterize = yes, the next time is simply to read from the cache of the rendering engine to the bitmap, saving system resources.
If you perform a fillet setting every time you scroll the TableView, you will definitely block the UI, and setting this will make the swipe smoother.
Ios-self.layer.shouldrasterize Property