質問編集履歴

1

誤字により一部訂正

2018/12/17 02:20

投稿

totot
totot

スコア20

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,8 @@
1
1
  これではExpression type '@lvalue CGRect' is ambiguous without more contextとエラーが出てしまいます。どう変更すればいいですか?
2
2
 
3
+ ```
4
+
3
- ```let titleLabel = UILabel(frame: CGRect(0, 0, view.frame.width - 32, view.frame.height))
5
+      let titleLabel = UILabel(frame: CGRect(0, 0, view.frame.width - 32, view.frame.height))
4
6
 
5
7
  titleLabel.text = "Home"
6
8