質問編集履歴
6
何を求めているのかについての追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
方位磁針のアプリです。
|
2
2
|
|
3
3
|
|
4
|
+
|
5
|
+
https://apps.apple.com/jp/app/appicon/id552721621?mt=12
|
6
|
+
|
7
|
+
このアプリは使わずにやりたいです。
|
4
8
|
|
5
9
|
|
6
10
|
|
@@ -78,7 +82,7 @@
|
|
78
82
|
|
79
83
|
参考[リンク内容](https://www.egao-inc.co.jp/programming/swift_compass/)
|
80
84
|
|
81
|
-
|
85
|
+
|
82
86
|
|
83
87
|
|
84
88
|
|
5
何を求めているのかについての追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -74,7 +74,15 @@
|
|
74
74
|
|
75
75
|
|
76
76
|
|
77
|
+
|
78
|
+
|
79
|
+
参考[リンク内容](https://www.egao-inc.co.jp/programming/swift_compass/)
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
77
|
-
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜エラー内容〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
|
85
|
+
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜エラー内容〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
|
78
86
|
|
79
87
|
|
80
88
|
|
4
何を求めているのかについての追記
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
対応方お願いします。/ Users / Beld / Desktop /個人名/ swiftぉ〜/コンパス/コンパス/Assets.xcassets:-1:どの入力カタ
|
1
|
+
方位磁針アプリ〜対応方お願いします。/ Users / Beld / Desktop /個人名/ swiftぉ〜/コンパス/コンパス/Assets.xcassets:-1:どの入力カタ〜
|
test
CHANGED
File without changes
|
3
何を求めているのかについての追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
方位磁針のアプリです。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
1
9
|
import UIKit
|
2
10
|
|
3
11
|
import CoreLocation
|
2
何を求めているのかについての追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,81 @@
|
|
1
|
+
import UIKit
|
2
|
+
|
3
|
+
import CoreLocation
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
class ViewController: UIViewController, CLLocationManagerDelegate {
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
var locationManager: CLLocationManager!
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
@IBOutlet weak var needleView: UIImageView!
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
override func viewDidLoad() {
|
24
|
+
|
25
|
+
super.viewDidLoad()
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
locationManager = CLLocationManager()
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
locationManager.delegate = self
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
locationManager.startUpdatingHeading()
|
40
|
+
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
func locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading) {
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
needleView.transform = CGAffineTransform.init(rotationAngle: CGFloat(-newHeading.magneticHeading) * CGFloat.pi / 180)
|
52
|
+
|
53
|
+
}
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
override func didReceiveMemoryWarning() {
|
58
|
+
|
59
|
+
super.didReceiveMemoryWarning()
|
60
|
+
|
61
|
+
// Dispose of any resources that can be recreated.
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
}
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜エラー内容〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜〜
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
1
79
|
/Users/Beld/Desktop/(個人名)/swiftぉ~/コンパス/コンパス/Assets.xcassets:-1: None of the input catalogs contained a matching stickers icon set or app icon set named "AppIcon".
|
2
80
|
|
3
81
|
|
1
何を求めているのかについての追記
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
/ Users / Beld / Desktop /個人名/ swiftぉ〜/コンパス/コンパス/Assets.xcassets:-1:どの入力カタログにも、一致す
|
1
|
+
対応方お願いします。/ Users / Beld / Desktop /個人名/ swiftぉ〜/コンパス/コンパス/Assets.xcassets:-1:どの入力カタログにも、一致す〜
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
-
これの対応お願いします
|
9
|
+
これの対応方お願いします。
|
10
10
|
|
11
11
|
|
12
12
|
|