Skip to content

Commit 423f8fd

Browse files
committed
update version 3
1 parent 9a109e1 commit 423f8fd

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

WeatherAroundUs/WeatherAroundUs/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>1</string>
22+
<string>3</string>
2323
<key>LSRequiresIPhoneOS</key>
2424
<true/>
2525
<key>NSLocationAlwaysUsageDescription</key>

WeatherAroundUs/WeatherAroundUs/MapView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ class MapView: MKMapView, MKMapViewDelegate, LocationManagerDelegate, WeatherInf
7878
}
7979

8080
func mapView(mapView: MKMapView!, didDeselectAnnotationView view: MKAnnotationView!) {
81-
selectIcon(view)
81+
if !view.isKindOfClass(NSClassFromString("MKModernUserLocationView")){
82+
selectIcon(view)
83+
}
8284
}
8385
override func didAddSubview(subview: UIView) {
8486
if subview.isKindOfClass(NSClassFromString("MKCompassView")){

0 commit comments

Comments
 (0)