Git Product home page Git Product logo

popupwindow's Issues

Unidentified view on top of popup view if rendered after camera image picker dismissal

I tried showing login screen popup provided in the demo after a the dismissal of camera imagepicker view. It shows 2 unidentified views on top of the popup view causing to obstruct interaction with the popup view. This happens only if i tried to show the popup after camera view dismissal

Device: iPhone XS
iOS: 13.5.1

func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let imagePickerVC = UIImagePickerController()
    imagePickerVC.delegate = self
    magePickerVC.sourceType = .camera
    imagePickerVC.videoMaximumDuration = 10
    imagePickerVC.mediaTypes = [String(kUTTypeMovie), String(kUTTypeImage)]
    present(imagePickerVC, animated: true)
}

func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
    dismiss(animated: true) {
        PopupWindowManager.shared.changeKeyWindow(rootViewController: LoginPopupViewController())
    }
}

Screenshot 2020-06-27 at 00 36 31

Fatal Error

There is a fatal error in PopupViewContainable.swift using Xcode 11.3:
PopupViewContainable.swift:12:5: error: 'weak' cannot be applied to a property declaration in a protocol
weak var containerView: UIView! { get }

The error can be fixed by removing the "weak" in the var declaration. I'm not sure if a property needs to be declared as "weak" instead.

Top toast not ready for iPhone X

You probably know this but I'll let this here anyway.

I checked because I fought with this already and didn't like my aproach which involves calculating frames... bleah

Can't use with Cocoapods

When performing pod install the error appears:

[!] CocoaPods could not find compatible versions for pod "PopupWindow":
In Podfile:
PopupWindow

Specs satisfying the PopupWindow dependency were found, but they required a higher minimum deployment target.

Which version should I use?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.