回答編集履歴
2
妄想。
answer
CHANGED
@@ -10,4 +10,20 @@
|
|
10
10
|
|
11
11
|
で。(printすればわかりますが、self.navigationItem.titleViewはnilです)
|
12
12
|
|
13
|
-
解除についてはよくわからないのでパス。
|
13
|
+
解除についてはよくわからないのでパス。
|
14
|
+
|
15
|
+
【追記】
|
16
|
+
|
17
|
+
aoshima.natsukiさんのやりたいことを想像すると、viewDidLoadでprogressViewをセットするのではなく、読み込み開始時に、
|
18
|
+
|
19
|
+
```swift
|
20
|
+
self.navigationItem.titleView = progressView
|
21
|
+
```
|
22
|
+
|
23
|
+
読み込み終了時に、
|
24
|
+
|
25
|
+
```swift
|
26
|
+
self.navigationItem.titleView = nil
|
27
|
+
```
|
28
|
+
|
29
|
+
とすればいいと思います。
|
1
nil
answer
CHANGED
@@ -8,6 +8,6 @@
|
|
8
8
|
self.navigationItem.titleView = progressView
|
9
9
|
```
|
10
10
|
|
11
|
-
で。
|
11
|
+
で。(printすればわかりますが、self.navigationItem.titleViewはnilです)
|
12
12
|
|
13
13
|
解除についてはよくわからないのでパス。
|