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伐。
Put A and B into one UIScrollView
中,并設置pagingEnabled = YES
,通過改變UIScrollView
的contentOffset.x
to display A or B.
View: UIView+calendar view+tab+scrollview Function: pageControl effect+click to modify contentOffset animation effect