回答編集履歴
1
修正
answer
CHANGED
@@ -8,5 +8,5 @@
|
|
8
8
|
```swift
|
9
9
|
// 現在ページを7に設定する.
|
10
10
|
pageControl.currentPage = 7
|
11
|
-
scrollView.contentOffset = CGPointMake(width *
|
11
|
+
scrollView.contentOffset = CGPointMake(width * CGFloat(pageControl.currentPage), 0)
|
12
12
|
```
|