Post

Replies

Boosts

Views

Activity

Comment on How to add different actions to rightCalloutAcessoryView button for each annotation?
Hey, thanks it is mostly clear, I've added new answer.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to add different actions to rightCalloutAcessoryView button for each annotation?
It also shows the number on the map before title.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to add different actions to rightCalloutAcessoryView button for each annotation?
I thin I should put somewhere return annotationViw after switch, but it will get me only colors istead of rightbutton function.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Problem with using switch with annotation view customization
Yup, thats what I did, thanks!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Print location shared when user tap 'locate me' button
I dont know how to detect if user has not sharing location, when he tap the button myLocationButtonTapped - I would like to show an alert that he is not sharing the location.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Print location shared when user tap 'locate me' button
Yes, but it is only visible only when you start the app, but I would like to see the alert when user tap the button myLocationButtonTapped and only than when location sharing is set to never.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Print location shared when user tap 'locate me' button
Hi, thanks, that is what I've did.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Directions to annotation from current location in MapKit
@Cluade31 I dont want to just open the map. I want to provide directions form my location to the annotation in maps. I would like to navigate user from his current location to the annotation which is tapped by this left button.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Print location shared when user tap 'locate me' button
Yes, thank you. Is it normal that when user choose allow once, current location disappears in couple of seconds when app is in background? I've got location in background option checked in project settings and it works fine with Allow while using the app. but not with Allow once
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Directions to annotation from current location in MapKit
@Clause31 No I wont do that this way. I do not want to open links. I would like to do this like here: https://www.raywenderlich.com/7738344-mapkit-tutorial-getting-started - In the part Handling callout he provides some code to create directions from current location to the annotation from his map. As i spotted he uses maps app to do that.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Directions to annotation from current location in MapKit
yes, I have restarted Xcode and it works - sth was stucked with an error on xcode.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Directions to annotation from current location in MapKit
@OOPer Thank you for your solution. Maybe you know if there is an option to choose opening it in apple maps and google maps? Is it a lot of work to do?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Directions to annotation from current location in MapKit
@OOPer - do you know how to display annotation name (annotation.title) as destination name in maps? In the forum they are managed to do that. In my case, when app opens map app, the directon is Unknown Location.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on mapItem.openInMaps Unknown Location
@Claude31 I tried this one before, but I got Value of type 'MKPointAnnotation' has no member 'annotation'
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on mapItem.openInMaps Unknown Location
It works perfect, thanks
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21