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.
アイテムを削除するときに NSMutableArray のように送信者タグをリセットする方法はありますか? 私のタグは次のようになります: 1、2、3、4... 3番。
ありがとう。
いいえ、手動で行う必要があります。削除されたビューのタグから親ビューのサブビューを繰り返します。
もう 1 つの方法は次のとおりです。これらのビューを定義済みの順序で追加する場合は、subviews 配列のインデックスを使用できます。