Comments (3)
Huh, you're absolutely right. Seems like I've never tested this to run on an iPad 🤦♂️
Since I don't want to make any assumptions about your presentation, I just pushed a new commit that adds Karte.createPicker()
which returns the UIAlertController
instead of directly trying to present it. Can you try and see if that works out for you including the notes referred to here? Thanks!
If it works for you I'll gladly bump the version to 0.2.0 with those changes.
from karte.
Hi Kilian,
Thank you very much! This new method Karte.createPicker()
works great on iPad and iPhone
`
let sender : UIButton....
let alertController = Karte.createPicker(destination: location)
if let popoverController = alertController.popoverPresentationController {
popoverController.sourceView = sender
popoverController.sourceRect = sender.bounds
}
self.present(alertController, animated: true)`
Thanks for your fast response and excellent work.
Alex
from karte.
Thanks for the update! Just tagged the version and pushed 0.2.0 accordingly.
from karte.
Related Issues (20)
- in Cocoapods the latest version is 0.1.0 HOT 1
- Assign rawValus to Enums HOT 2
- 'Error' is ambiguous for type lookup in this context HOT 1
- FlixBus
- Make App.name public HOT 1
- iOS 9 Support
- Default open when there is only one app available HOT 3
- Callback with which app was selected HOT 3
- Crash on iPad HOT 5
- Convert to Swift 4.2
- Maps.me Support
- Set transport type? HOT 2
- Rename Location as KarteLocation HOT 3
- Rename App HOT 4
- Make App.all public HOT 3
- actionSheet issue with presentPicker Xcode 11 HOT 2
- SwiftUI
- Maps.me, Scenic, Sygic, TomTom HOT 1
- Google Maps does not work if location has coordinates and name HOT 3
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 karte.