ios - How is the relation between UIView's clipsToBounds and CALayer's masksToBounds? -


A UIView has a CALayer . It is very sure that both of them offer something of the same thing.

If I set the clip setbones = yes , can it also set the layer's mask toons = yes ? Why different names? Anyone knows?

These are different names because UIView and CALayer < / Code> are different and there are various terminology associated with them, but they are functionally equivalent if you want to separate the clip-to-bounce , then you can only assign it to Mask Towers (Will be called x86):

  - (BUAL) [UIView (rendering) clip tubules] +03091938A 55 Power AUP + 1 3091938 B 89E5 MLL A SP,% EBP +3309198DeE 800000000Coll 0x309192 +83091932 59Popal% ECX +930919320B 4508 Moving 0x08 (% EBP),% EX + 12309196 9b 5004mml 0x04 (% ex),% adx_clair_layer +1530919989b 8186cb 1301 mll 0x0113 cb 86 (% nxx),% ex mask Two-Bounce +21 30 9198F 89450CLLLEx, 0x0C (% EBP) +24309192AM 895508 MML% ADX, 0x08 (% EBP) +27 309193A5 C9 Leave +28 30 9 1 9 6A 92E 0211801 GMPL 0x31A 9B4D9  

Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -