TLYShyNavBar
TLYShyNavBar copied to clipboard
Use KVO to automatically respond correctly to changes in the extensionView size
Observe the frame of our extensionView and update automatically if it changes.
Thanks for the PR! I am working on some more examples in the demo, especially refresh and hopefully one where the extension view frame changes to demonstrate this. Once I create the example, I'd also want to explore subclassing UIView
and using layoutSubviews
instead of KVO to react to frame changes, since KVO is something I generally like to avoid.
Just a note that this remains an issue. I recently moved to using your newly refactored version (1.1.0) to get the corrections for a couple bugs and verified it remains. It'd be great to get this merged; in the meantime, I'm manually updating extensionViewContainer
's frame via a category after I change the extension view size.
Is this supposed to work now? I'm trying to change my extension frame size and nothing is happening
I revisited this a month or so ago and it remained nonworking.