ios - Horizontal sliding issue with view on top
伊谢尔伦
伊谢尔伦 2017-05-17 10:05:06
0
2
802

The problem is this:
1. There is a calendar control at the top, a tab below the calendar control, and the corresponding content below the tab.
2. The calendar control is not fixed, which means it can slide with the view below;
3. A and B below not only support clicking on the tab tab to switch, but also sliding left and right to switch.

Here comes the question:
Are there any good ideas that you can provide?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
迷茫

Put A and B into one UIScrollView中,并设置pagingEnabled = YES,通过改变UIScrollViewcontentOffset.x to display A or B.

淡淡烟草味

View: UIView+calendar view+tab+scrollview Function: pageControl effect+click to modify contentOffset animation effect

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template