Re: WebView drawRect
Re: WebView drawRect
- Subject: Re: WebView drawRect
- From: Kyle Sluder <email@hidden>
- Date: Fri, 21 Mar 2014 12:14:45 -0700
On Fri, Mar 21, 2014, at 11:50 AM, Jens Alfke wrote:
>
> On Mar 21, 2014, at 9:01 AM, Leonardo <email@hidden> wrote:
>
> > Anyway, how can I flip horizontally the webView?
>
> Assign it a CALayer, and apply a transform to the layer. It’ll even do
> the animation for you.
Unless WebView has some special dispensation that I don't know about,
assigning layers to views and mutating a view's layer are not supported
operations.
Both of these would be particularly troublesome for WebViews,
considering they may make use of IOSurface to pass off rendering to
plugins.
Leonardo, what are you actually trying to do? Why do you need to flip
the WebView horizontally?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden