Re: Interacting with VC behind modal VC?
Re: Interacting with VC behind modal VC?
- Subject: Re: Interacting with VC behind modal VC?
- From: Rick Mann <email@hidden>
- Date: Wed, 11 May 2016 17:53:17 -0700
> On May 11, 2016, at 17:49 , Alex Zavatone <email@hidden> wrote:
>
> Does the top view cover/obscure the view beneath it?
In this case, the top (modal) view obscures only a small part of the view beneath it. You can see a chrome dimming view fade in and out if you drag the modal view down slowly (in the YouTube app).
>
> You can do this with an override on hitTest: withEvent:.
>
> https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/event_delivery_responder_chain/event_delivery_responder_chain.html
>
> http://stackoverflow.com/questions/9209998/forwarding-uigesture-to-views-behind
>
> http://stackoverflow.com/questions/7719412/how-to-ignore-touch-events-and-pass-them-to-another-subviews-uicontrol-objects
>
>
>
> On May 11, 2016, at 8:38 PM, Rick Mann <email@hidden> wrote:
>
>> In both the YouTube and Vimeo players (at least on iPad), the user can tap on something that looks like a collection view cell. Doing so then appears to modally present a view for that video.
>>
>> A button in the upper-left then results in that video shrinking down to a small thumbnail in the lower-right corner, where the video continues to play. There is a close button, or you can swipe it right to dismiss it.
>>
>> But you can continue to interact with the collection view behind it.
>>
>> Is this something that's supported? Or are they doing something else entirely to allow that?
>>
>> Thanks,
>>
>> --
>> Rick Mann
>> email@hidden
>>
>>
>>
>> _______________________________________________
>>
>> 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
>
--
Rick Mann
email@hidden
_______________________________________________
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