开发者

Can you curve views

开发者 https://www.devze.com 2023-03-01 22:31 出处:网络
I want to curve views so that objects will pop out. I am registering lanes and the views will be lanes. Can i 开发者_如何学编程curve views in the nib fileYou can\'t create a UIView with a non rectangu

I want to curve views so that objects will pop out. I am registering lanes and the views will be lanes. Can i 开发者_如何学编程curve views in the nib file


You can't create a UIView with a non rectangular shape, but you can mask it using a CALayer with any random shape. See Bitmap Images and Image Masks.

0

精彩评论

暂无评论...
验证码 换一张
取 消