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?
迷茫2017-05-17 10:07:06
Put A and B into one UIScrollView
中,并设置pagingEnabled = YES
,通过改变UIScrollView
的contentOffset.x
to display A or B.
淡淡烟草味2017-05-17 10:07:06
View: UIView+calendar view+tab+scrollview Function: pageControl effect+click to modify contentOffset animation effect