質問編集履歴
1
文章の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
お世話になっております。
|
2
|
+
|
3
|
+
現在、周囲のwifiを検知させるアプリを作成しております。
|
4
|
+
|
5
|
+
|
2
6
|
|
3
7
|
http://qiita.com/naokits/items/aa16e1553880c7ddbfbf
|
4
8
|
|
@@ -14,13 +18,13 @@
|
|
14
18
|
|
15
19
|
let interfaces = NEHotspotHelper.supportedNetworkInterfaces()
|
16
20
|
|
17
|
-
print("---
|
21
|
+
print("--- (interfaces)") // Appleの許可が得られているのに、ここに何も入ってこない
|
18
22
|
|
19
23
|
|
20
24
|
|
21
25
|
for interface in interfaces as! [NEHotspotNetwork] {
|
22
26
|
|
23
|
-
print("---
|
27
|
+
print("--- (interfaces)")
|
24
28
|
|
25
29
|
let ssid = interface.ssid
|
26
30
|
|
@@ -34,15 +38,15 @@
|
|
34
38
|
|
35
39
|
|
36
40
|
|
37
|
-
print("ssid:
|
41
|
+
print("ssid: (ssid)")
|
38
42
|
|
39
|
-
print("bssid:
|
43
|
+
print("bssid: (bssid)")
|
40
44
|
|
41
|
-
print("secure:
|
45
|
+
print("secure: (secure)")
|
42
46
|
|
43
|
-
print("autoJoined:
|
47
|
+
print("autoJoined: (autoJoined)")
|
44
48
|
|
45
|
-
print("signalStrength:
|
49
|
+
print("signalStrength: (signalStrength)")
|
46
50
|
|
47
51
|
}
|
48
52
|
|
@@ -51,3 +55,7 @@
|
|
51
55
|
```
|
52
56
|
|
53
57
|
NEHotspotHelperの導入方法を教えていただけませんでしょうか?
|
58
|
+
|
59
|
+
開発環境はxcode8です。
|
60
|
+
|
61
|
+
よろしくお願いいたします。
|