You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code returns [CLLocationManager copyWithZone:]: unrecognized selector sent to instance:
include BW::Location
def get_location
if BW::Location.enabled? && BW::Location.authorized?
BW::Location.get_once(desired_accuracy: :nearest_ten_meters) do |user_location|
if user_location.is_a?(CLLocation)
mp user_location.coordinate.latitude
else
NSLog("Error getting location: %@", user_location[:error])
end
end
end
end
I have messing around with it all day but can't get it fixed. Could it be a bug in BW::Location?
The text was updated successfully, but these errors were encountered:
The following code returns
[CLLocationManager copyWithZone:]: unrecognized selector sent to instance
:I have messing around with it all day but can't get it fixed. Could it be a bug in BW::Location?
The text was updated successfully, but these errors were encountered: