Comments (5)
The first part is the same as #8. presentPicker
will not work directly on iPad, please use createPicker
instead and handle the presentation manually.
Regarding the second issue, I'm not quite sure about the error code π Could it be that you might be missing the Info.plist strings to query for the apps?
from karte.
Yes first part was the same. Thank you!
The second one is no issue, i just thought it might be helpful. Everything works fine but as I present the picker, these logs appear in the console. Just wanted you to know that. π
from karte.
Did you add the URLs to your app's Info.plist though as the README suggests? Maybe the apps shown in the logs are missing there? That's my only guess currently where that message could be coming from π
from karte.
Yes they are there
from karte.
Confirmed bug. Running into the same issue on iPad with project setup properly with Info.plist added.
Fix is straight forward:
let picker: UIAlertController = Karte.createPicker(destination: someLocation)
if let popoverPresentationController = picker.popoverPresentationController {
popoverPresentationController.sourceView = self.view
popoverPresentationController.sourceRect = CGRect(x: self.view.bounds.midX, y: self.view.bounds.midY, width: 0, height: 0)
popoverPresentationController.permittedArrowDirections = []
}
present(picker, animated: true)
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
- 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
- Karte Does not compile with destination Apple Vision Pro HOT 7
- 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.