Comments (10)
seems to be related to this one #41, make sure you are using latest version.... I have just tested this in my app and it's working fine when VC is embeded in UINavigationController
from lnpopupcontroller.
I am using the latest version. This did not fix it.
However my view hierarchy looks like this, which might be the problem why the fix does not work for me.
popup presents: UIViewController
-> UIPageViewController
as subview -> UINavigationController
-> UIViewController
from lnpopupcontroller.
From the screenshots above, I see this is not the latest version. Please update to latest version.
from lnpopupcontroller.
I am currently trying to figure this out
➜ xenim-ios-app git:(feature/chat) carthage update
*** Fetching LNPopupController
*** Checking out LNPopupController at "v1.3"
*** xcodebuild output can be found in /var/folders/8r/nl9r6g3s2j36ljrhdnky9ng40000gn/T/carthage-xcodebuild.Np529A.log
*** Building scheme "LNPopupController" in LNPopupController.xcodeproj
Carthage says I have the current version.
However it is really hard to find out if the code actually has this version, because there is no version number fixed in any files of the repository to crosscheck.
I only found something in Info.plist
, but it is outdated: https://github.com/LeoNatan/LNPopupController/blob/master/LNPopupController/Info.plist#L10
from lnpopupcontroller.
I just took a look right in the code and can confirm that the version carthage did checkout actually includes this patch: ac6d3f9
So I assume carthage did build 1.3 correctly.
How can you see my build uses an older version?
from lnpopupcontroller.
Hmm, because the popup dismiss button is on top of the bar. But I see you are embedding a navigation controller in a view controller. This all might be iOS fault. Please move the content controller to be a navigation controller directly.
from lnpopupcontroller.
Unfortunately I can not do that because the UINavigationController is just one of my views inside a UIPageViewController. So the popup content controller has to be either the UIPageViewController directly or a UIViewController containing it.
Would also be nice if you could update the version string in Info.plist
from lnpopupcontroller.
If I swipe the UIPageViewController left and right, the UINavigationBar is displayed correctly. It just breaks if the popup is minified. I assume Apples code does not handle the additional top space correctly.
from lnpopupcontroller.
That's what I fear. There are many issues with embedding navigation controllers that just don't work well. Unfortunately there is little I can do. Will take a look but will likely close this as an Apple bug.
from lnpopupcontroller.
That's what I fear. There are many issues with embedding navigation controllers that just don't work well. Unfortunately there is little I can do. Will take a look but will likely close this as an Apple bug.
I understand.
This is how it behaves:
from lnpopupcontroller.
Related Issues (20)
- SwiftUI preview does not compile with missing required module 'LNPopupController_ObjC HOT 13
- Floating background color HOT 7
- Larger text sizes / content categories look bad HOT 32
- Bat layout is broken under certain extreme situations HOT 1
- RTL layout issues HOT 3
- 2.16.* subtitleTextAttributes how to set before ios 15?
- ContentView left inset of -8 HOT 8
- xcode manual build error HOT 3
- Popup Bar title and subtitle layout/visibility with MarqueeLabel enabled. HOT 2
- Swiping down on a .popupInteractionStyle(.drag) popup causes both the popup and the tabBar to hide HOT 3
- Swipe down HOT 10
- Miniplayer disappears sometimes and popup is not opened. HOT 4
- Using SettingKeys HOT 3
- Presenting view controller from detached view controller is not supported, and may result in incorrect safe area insets and a corrupt root presentation. HOT 6
- Wrong subtitle label layout on RLT HOT 3
- Hiding popup var always animates. HOT 2
- Unsafe build flags HOT 3
- Emptiness
- prefersHomeIndicatorAutoHidden not called HOT 2
- No type or protocol named 'UIObjectTraitDefinition' error when trying to build xcode HOT 2
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 lnpopupcontroller.