Re: How to draw a NSView on top of a WebView and don't get overriden trying
Re: How to draw a NSView on top of a WebView and don't get overriden trying
- Subject: Re: How to draw a NSView on top of a WebView and don't get overriden trying
- From: Uli Kusterer <email@hidden>
- Date: Sat, 16 May 2015 12:05:44 +0200
Tick the checkmark next to your view in the Layers inspector in IB, or call setWantsLayer: YES.
On 14 May 2015, at 14:30, Juanjo Conti <email@hidden> wrote:
> I've tried 2 and didn't work. How do I do 1?
>
> On Thu, May 14, 2015 at 7:46 AM, Uli Kusterer <email@hidden>
> wrote:
>
>> Two things I’d try:
>>
>> 1) Make your view layer-backed
>> 2) Ensure that your view is a peer, not a subview of the web view.
>>
>> Any of that your issue?
>>
>>> On 14 May 2015, at 03:31, Juanjo Conti <email@hidden> wrote:
>>>
>>> I'm writing a screen saver, so using another window is not possible :(
>>>
>>> On Tue, May 12, 2015 at 6:00 PM, Mike Abdullah <email@hidden>
>>> wrote:
>>>
>>>> The failsafe way is to place a child window over the WebView. I’m not
>> 100%
>>>> sure but I think popovers work that way behind the scenes, so maybe one
>> of
>>>> them would be usable for this.
>>>>
>>>>> On 12 May 2015, at 22:44, Juanjo Conti <email@hidden>
>> wrote:
>>>>>
>>>>> I have a WebView and I want to show some messages over it. For this I'm
>>>>> using a NSView.
>>>>>
>>>>> If I add it as a subView of WebView or if I add it as a subView of the
>>>>> WebView's superView, it's shown for a while but if the WebView gets
>>>>> scrolled or if I load sites gmail.com or twitter (without logging in),
>>>> the
>>>>> website hides my NSView.
>>>>>
>>>>> Is this a known problem? is there any solution?
>>>>>
>>>>> Thanks in advance,
>>>>> --
>>>>>
>>>>> Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
>>>>> <email@hidden>>
>>>>>
>>>>> Software Engineer - Carousel Apps <https://carouselapps.com>
>>>>>
>>>>> --
>>>>> Carousel Apps Limited, registered in England & Wales with registered
>>>> number
>>>>> 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
>>>>> Street, London SE1 3HN. Any communication sent by or on behalf of
>>>> Carousel
>>>>> App Ltd or any of its subsidiary, holding or affiliated companies or
>>>>> entities (together "Watu") is confidential and may be privileged or
>>>>> otherwise protected. If you receive it in error please inform us and
>> then
>>>>> delete it from your system. You should not copy it or disclose its
>>>> contents
>>>>> to anyone. Messages sent to and from Watu may be monitored to ensure
>>>>> compliance with our internal policies and to protect our business.
>> Emails
>>>>> are not secure and cannot be guaranteed to be error free. Anyone who
>>>>> communicates with us by email is taken to accept these risks.
>>>>> _______________________________________________
>>>>>
>>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
>>> <email@hidden>>
>>>
>>> Software Engineer - Carousel Apps <https://carouselapps.com>
>>>
>>> --
>>> Carousel Apps Limited, registered in England & Wales with registered
>> number
>>> 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
>>> Street, London SE1 3HN. Any communication sent by or on behalf of
>> Carousel
>>> App Ltd or any of its subsidiary, holding or affiliated companies or
>>> entities (together "Watu") is confidential and may be privileged or
>>> otherwise protected. If you receive it in error please inform us and then
>>> delete it from your system. You should not copy it or disclose its
>> contents
>>> to anyone. Messages sent to and from Watu may be monitored to ensure
>>> compliance with our internal policies and to protect our business. Emails
>>> are not secure and cannot be guaranteed to be error free. Anyone who
>>> communicates with us by email is taken to accept these risks.
>>> _______________________________________________
>>>
>>> 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
>>
>> Cheers,
>> -- Uli Kusterer
>> “The Witnesses of TeachText are everywhere...”
>> http://zathras.de
>>
>>
>
>
> --
>
> Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
> <email@hidden>>
>
> Software Engineer - Carousel Apps <https://carouselapps.com>
>
> --
> Carousel Apps Limited, registered in England & Wales with registered number
> 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
> Street, London SE1 3HN. Any communication sent by or on behalf of Carousel
> App Ltd or any of its subsidiary, holding or affiliated companies or
> entities (together "Watu") is confidential and may be privileged or
> otherwise protected. If you receive it in error please inform us and then
> delete it from your system. You should not copy it or disclose its contents
> to anyone. Messages sent to and from Watu may be monitored to ensure
> compliance with our internal policies and to protect our business. Emails
> are not secure and cannot be guaranteed to be error free. Anyone who
> communicates with us by email is taken to accept these risks.
> _______________________________________________
>
> 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
Cheers,
-- Uli Kusterer
“The Witnesses of TeachText are everywhere...”
http://zathras.de
_______________________________________________
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