質問編集履歴
3
修正依頼からの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -29,6 +29,8 @@
|
|
29
29
|
|
30
30
|
|
31
31
|
```
|
32
|
+
|
33
|
+
import UIKit
|
32
34
|
|
33
35
|
import CoreLocation
|
34
36
|
|
@@ -100,9 +102,9 @@
|
|
100
102
|
|
101
103
|
let location:CLLocationCoordinate2D = manager.location!.coordinate
|
102
104
|
|
103
|
-
bluetoothService.lat = location.latitude
|
105
|
+
// bluetoothService.lat = location.latitude
|
104
106
|
|
105
|
-
bluetoothService.lng = location.longitude
|
107
|
+
// bluetoothService.lng = location.longitude
|
106
108
|
|
107
109
|
}
|
108
110
|
|
2
修正依頼からの書き足し
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,6 +35,10 @@
|
|
35
35
|
|
36
36
|
|
37
37
|
class MainViewController: UIViewController, CLLocationManagerDelegate {
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
var locationManager: CLLocationManager?
|
38
42
|
|
39
43
|
|
40
44
|
|
@@ -130,6 +134,8 @@
|
|
130
134
|
|
131
135
|
パッと出てきたのがこれらだったので。。
|
132
136
|
|
137
|
+
|
138
|
+
|
133
139
|
[【CoreLocation】位置情報を取得する](https://qiita.com/chino_tweet/items/db3a536234a43a3c31d9)
|
134
140
|
|
135
141
|
[CLLocationManagerの用例](https://qiita.com/maebaru/items/040a5717380f6f985e9a)
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -117,3 +117,19 @@
|
|
117
117
|
です。
|
118
118
|
|
119
119
|
なにとぞ、ご教授お願い申し上げます。
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
***
|
124
|
+
|
125
|
+
**追記**
|
126
|
+
|
127
|
+
参考にした記事
|
128
|
+
|
129
|
+
いろんな記事をみていたのでこれらだけではありませんが..
|
130
|
+
|
131
|
+
パッと出てきたのがこれらだったので。。
|
132
|
+
|
133
|
+
[【CoreLocation】位置情報を取得する](https://qiita.com/chino_tweet/items/db3a536234a43a3c31d9)
|
134
|
+
|
135
|
+
[CLLocationManagerの用例](https://qiita.com/maebaru/items/040a5717380f6f985e9a)
|