shin8484 / popupwindow Goto Github PK
View Code? Open in Web Editor NEWPopupWindow is a simple Popup using another UIWindow in Swift
License: MIT License
PopupWindow is a simple Popup using another UIWindow in Swift
License: MIT License
I get the error No such module 'PopupWindow' when I try to run the demo project on Xcode 9.3.
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())
}
}
please add iOS 9 support!
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.
Why not push to CocoaPods/Specs? It is version 0.1.0 in CocoaPods/Specs.
Hi,
When I try and use the info from the sample app, I noticed that your pod file contains "BasePopupViewController" but this isn't there when I download the latest pod file
When performing pod install the error appears:
[!] CocoaPods could not find compatible versions for pod "PopupWindow":
In Podfile:
PopupWindowSpecs satisfying the
PopupWindow
dependency were found, but they required a higher minimum deployment target.
Which version should I use?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.