Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom View Controller not appearing #358

Open
destinybonavita opened this issue Nov 26, 2020 · 1 comment
Open

Custom View Controller not appearing #358

destinybonavita opened this issue Nov 26, 2020 · 1 comment

Comments

@destinybonavita
Copy link

Report

Trying to add a custom ViewController to add a TextField is not working as expected.
I followed this example but the "RATE THIS APP" is showing on top of the buttons and isn't showing the TextField at all.

let viewController = JoinViewController(nibName: "JoinViewController", bundle: nil)
            
            let popup = PopupDialog(viewController: viewController, 
buttonAlignment: .horizontal, 
transitionStyle: .bounceDown, 
tapGestureDismissal: true, 
panGestureDismissal: false)
            
            popup.addButton(DefaultButton(title: "Join Random", action: nil))
            popup.addButton(CancelButton(title: "Cancel", action: nil))
            self.present(popup, animated: true, completion: nil)

Environment

Please provide information on your development environment, so we can build with the same scenario.

  • Xcode version (e.g. 9.1): ℹ 12.2 (12B45b)
  • PopupDialog version (e.g. 0.5.0): ℹ pod 'PopupDialog', '~> 1.1'
  • Minimum deployment target (e.g. 9.0): ℹ 13.0
  • Language (Objective-C / Swift): ℹ Swift
  • In case of Swift - Version (e.g. 4): ℹ 5

Dependency management

If you are not using any dependency managers, you can remove this section.

  • Dependency manager (e.g. CocoaPods): ℹ CocoaPods
  • Version (e.g. 1.3.1): ℹ Not sure how to retrieve

What did you do?

Filled out above

What did you expect to happen?

Filled out above

What happened instead?

Filled out above

Project that demonstrates the issue

Filled out above

@Fando
Copy link

Fando commented Jan 7, 2021

Possible solution to your problem: #362 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants