Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このアプリでこのビューの機能を複製したいと思います。
下部にUIPageControlがあり、ビュー全体ではなく下部のビューのみを変更する3つのビューがあります。
これを達成する方法に関する基本的なアドバイスはありますか?
まあ、UIPageControl は、ページを変更するように通知するイベントを送信するだけです...
一番下のビューを UIScrollView に配置し (これには、交互にしたい 3 つのビューが含まれます)、ユーザーが UIPageControl をクリックすると、UIScrollView の contentOffset を設定します。
理にかなっていますか?