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.
私は自分のアプリケーションで次のコードを使用しています:-
.h ファイル内
@property (strong, nonatomic) IBOutlet UIPageControl *pageControl;
および.mファイルで
pageControl.currentPage = counting;
カウントはNSInteger。アプリケーションは正常に動作しますが、UIPageControlデフォルトの白色に設定されており、属性インスペクターで色を変更できません。
NSInteger
UIPageControl
以下と同様。
UIPageControlのページネーションドットの色を変更するにはどうすればよいですか?
ページコントローラーでドットの色を変えるプロパティは無いと思います