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.
同じビューに 2 つの UISliders があります。私の要件は、ユーザーが最初のスライダーの値を変更すると、それに応じて 2 番目のスライダーの値を変更する必要があることです。親指の色、ユーザーに見えます。どうすれば解決できますか?
親指の画像をnilに設定するだけです
UIImage *empty = [UIImage new]; [theSlider setMinimumTrackImage:[UIImage alloc] forState:UIControlStateNormal]; [theSlider setMaximumTrackImage:[UIImage alloc] forState:UIControlStateNormal];