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.0 から使用してカスタムバッジを作成しました。しかし、2 番目のアクティブ セグメントに切り替えた後、次の問題が発生しました。
オリジナル
後
バッジをセグメント化されたコントロールのサブビューとして追加しているように見えます。コントロールの値を切り替えると、セグメントの 1 つがバッジを覆うようにサブビューが並べ替えられます。考えられる解決策は次の 2 つです。
[theControl bringSubviewToFront:theBadgeView];