Questions tagged [showuserlocation]
15 questions
5
votes
1 answer
iPhone Development - CLLocationManager vs. MapKit
If i want to show userLocation on the map, and at the same time record the user's location, is it a good idea to add an observer to userLocation.location and record the locations, OR should i still use CLLocationManager for recording user location…

Mustafa
- 20,504
- 42
- 146
- 209
3
votes
2 answers
NSLocationWhenInUseUsageDesciption Missing from Info.plist
Good afternoon,
for the past couple weeks I have been facing an issue in Xcode that says:
This app has attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain both…
user9951119
3
votes
1 answer
How to set Mapkit user tracking button state
I've created a map with a user tracking button on the top right corner. I was wondering how I would be able to set the state to "followWithHeadlights" by default on load so that it follows the users current position just like you would have on…

Alan Lau
- 115
- 9
2
votes
1 answer
How to get location services to reprompt the user for location permission if they accidentally refused it?
When the users are asked to allow the user location, if they select accidentally "NO", then this alert is never shown in our app. Is there any option to reprompt the alert every time they open the app.After referring S.O question, many are…

NSUserDefault
- 1,794
- 1
- 17
- 38
2
votes
1 answer
How to show user location when user tap don't allow for the next time?
In my app,I want to show user location in one of my UIViewController which uses MKMapKit.So when the user selects this View Controller they will be asked whether to allow or don't allow. If user selects allow, then everything fine.If they selects…

NSUserDefault
- 1,794
- 1
- 17
- 38
2
votes
2 answers
CLLocation- user location is lost (zero lat and long) on App resume
GPS signal is lost when App is resumed from long time suspend mode.
And/or after user goes into a building where GPS is weak and then resumes the App.
The blue dot disappears and the map is centered at lat:0 long:0 ( which is somewhere in
the ocean…

AmitP
- 5,353
- 4
- 35
- 27
1
vote
2 answers
mkmapview showsUserLocation
Hey have a question here.
I'm trying to do.
if (Map.showsUserLocation == YES)
{
Map.showsUserLocation = NO;
}
This is rather simple. When the app just started showsUserLocation is set to YES, but it takes time for the…

user774150
- 962
- 2
- 10
- 24
1
vote
2 answers
Can't show current user location in Flutter using 'google_maps_flutter' plugin
I'm trying to show current user location in the map view using flutter. In iOS, it is very simple, just to add self.mapView.showsUserLocation = YES;and that will show the current user location in map view. But in flutter, it seems very complex and…

Nuibb
- 1,800
- 2
- 22
- 36
1
vote
1 answer
Current position doesn't show up in MapView (iOS)
I have set
self.mapView.showsUserLocation = YES;
However, I still cannot see the current pin in Map.
What am I missing?
Here's viewDidLoad
- (void)viewDidLoad {
self.mapView.delegate = self;
self.locationManager = [[CLLocationManager alloc]…

Winston Liu
- 77
- 1
- 2
- 7
1
vote
2 answers
iPhone Development: CoreLocation and MapKit
How bad is it to use Location Manager to retrieve the location information when MapView.showUserLocation is also TRUE?
I have a situation where i want to show the blue dot to indicate the user's current location, and i want to record the user's…

Mustafa
- 20,504
- 42
- 146
- 209
0
votes
1 answer
Request location updates based only on min-distance
I am developing a location based application in which i want to get location after movement of meter from previous position. I don't want to give minimum time in
void requestLocationUpdates (String provider,
long minTime,
…

Abdul Wahab
- 137
- 2
- 11
0
votes
0 answers
showsUserLocation won't work for some reason
For some reason my Map wont present the Users location when button "GetLocation" is pressed. I also made sure "GetLocation" is delegated to the button on the viewcontroller. I have compared my code with others in this forum and been stuck on this…

Ben
- 91
- 1
- 6
0
votes
1 answer
Find user location (Please help me fix below or suggest any other way)
Hopefully, some one can help me with this issue. I am trying to implement a global site and hence was looking for a way to detect user location. I do not want to use any ip2location webservice or download a database or ask for user to "share…

Roomdu
- 23
- 2
0
votes
3 answers
MKMapView userLocation not showing in ipod
i used
self.mapView.showsUserLocation = YES;
for showing blue dot (circle) on MKmapview. Its working fine in simulator. but when i tested in Ipod, its not showing. Anybody know what will be the reason ? thanks in advance

S.P.
- 5,427
- 11
- 56
- 83
0
votes
1 answer
How to know if MKMapView is allowed to use current location?
I am showing the user location on a mapView with:
self.mapView.showsUserLocation = YES;
The user gets prompted the AlertView where he can choose whether to allow to use the current location or not.
If he presses yes everything is ok and I do not…

BObereder
- 1,046
- 1
- 13
- 29