Comments (4)
Sure. So, I want to start by mentioning that using Pulley in Storyboards is a bit of a hack. The view hierarchy in Storyboards doesn’t actually match what Pulley rebuilds internally, so I’m not surprised it doesn’t behave well in that circumstance.
But, there is a solution! You want to make a new view controller with a full screen container view, then use an embed segue with that container view to embed the Pulley View Controller that you have into that view controller. In that new parent view controller, you can put a view on top of the container view the Pulley VC is embedded in, and it should work properly.
If that wasn’t clear, let me know and I’ll make a quick sample project showing it.
Thanks!
from pulley.
@Brendan09 Could you sending or updating sample project?
from pulley.
Here is a zip file containing a sample project that does this: https://www.dropbox.com/s/hurzxag6tx64zbp/Pulley-Floating%20Content.zip?dl=0
It's done in the Storyboard, using a Container View in the new initial view controller I've added to the Storyboard. Anything 'above' the container view in that view controller will 'float' over the drawer and primary content view controllers. In this sample, it's a UILabel.
Be careful: Anything that is user interactive (for example a large UIView) will steal touches, even if it's transparent, unless you disable user interaction on the view. You obviously need user interaction enabled on controls, but I'd recommend disabling it on anything not essential.
Reminder: If you disable user interaction on a view containing controls then the controls will be disabled as well.
Let me know if you have any questions.
from pulley.
from pulley.
Related Issues (20)
- iOS 13 feedback loop with latest release 2.8.3 HOT 10
- Unable to drag the drawer on iOS 14 HOT 5
- Animation HOT 4
- [QUESTION] Help with error: "When instantiating from Interface Builder you must provide container views with an embedded view controller. HOT 1
- App getting hang on iOS 14 using pulley HOT 1
- Navigator BAr
- Remove possibly unnecessary view
- [BUG] iPad panel mode problem HOT 1
- [BUG] The latest version Pulley 2.9.0 does not start PulleyViewController HOT 1
- [QUESTION] How to resize the content of the drawer as it is opened and closed HOT 1
- [BUG] There is a 20 pixel top inset for the PulleyPassThroughScrollView which doesn't accept user action HOT 3
- Is there any way to apply corner radius to only one side? HOT 2
- Open other controller within Drawer
- [QUESTION] Update bounceOverflowMargin HOT 1
- Pulley drawer dimming view appears after UINavigationViewController push new viewController
- [QUESTION] How to control bounce of pulley when it is used in UITabBarController
- Strange lines on mac catalyst 16
- Trying to instantiateViewController to open the pulley view controller
- I hope there are more convenient functions, such as the function of directly displaying the QR code
- Privacy manifest adoption HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulley.