webview in core animation layer

后端 未结 2 1697
再見小時候
再見小時候 2021-01-26 18:43

I wanted to create a webView inside of a CALayer. Maybe it is too trivial but I am just getting my head into CA. Would anyone please be able to help?

cheers Ron

2条回答
  •  离开以前
    2021-01-26 19:12

    I don't think this works because webview doesn't seem to like core animation enabled in any view containing it. I'd simply like to get a drop shadow or blur effect on the screen behind my webview and I've tried enabling it in the parent or even in a view behind the webview... but nothing seems to work. I may be doing something wrong though.

提交回复
热议问题