回答編集履歴
2
修正
test
CHANGED
@@ -8,6 +8,6 @@
|
|
8
8
|
|
9
9
|
let image = UIImage(named: "image")?.imageWithRenderingMode(UIImageRenderingMode.AlwaysOriginal)
|
10
10
|
|
11
|
-
|
11
|
+
let item1 = UITabBarItem(title: "item1", image: image, tag: 1)
|
12
12
|
|
13
13
|
```
|
1
修正
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
`UIBar
|
1
|
+
`UITabBarItem`に設定できるものはそのまま使えます。
|
2
2
|
|
3
3
|
以下のようにするとタイトルと画像、タグを設定できます。
|
4
4
|
|