回答編集履歴
1
修正
test
CHANGED
@@ -14,10 +14,38 @@
|
|
14
14
|
|
15
15
|
NSLog(@"screenWidth = %f",screenWidth);
|
16
16
|
|
17
|
-
// screenWidth = 375.000000
|
17
|
+
//=> screenWidth = 375.000000
|
18
18
|
|
19
19
|
NSLog(@"screenHeight = %f",screenHeight);
|
20
20
|
|
21
|
-
// screenHeight = 667.000000
|
21
|
+
//=> screenHeight = 667.000000
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
// ScrollViewのスクロール位置
|
28
|
+
|
29
|
+
CGPoint scrollPoint = _scrollView.contentOffset;
|
30
|
+
|
31
|
+
NSLog(@"scrollPoint.x = %f, scrollPoint.y = %f",scrollPoint.x, scrollPoint.y);
|
32
|
+
|
33
|
+
//=> scrollPoint.x = 200.000000, scrollPoint.y = 0.000000
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
// TableViewのスクロール位置
|
40
|
+
|
41
|
+
CGPoint tablePoint = _tableView.contentOffset;
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
// TableViewの幅
|
46
|
+
|
47
|
+
CGFloat tableWidth = CGRectGetWidth(_tableView.frame);
|
48
|
+
|
49
|
+
|
22
50
|
|
23
51
|
```
|