私はを持っていますNSMutableArray、そして私はそれにいくつかの文字列値を保存しています。のサイズは2〜5のNSMutableArray範囲で変化する可能性があります(つまり、2〜5の文字列値が格納されている可能性があります)。
カウントに応じて、NSMutableArrayUIBUttonsを初期化してから、initに格納されている文字列の値をボタンのタイトルに設定する必要があります。
int numberOfButtonsToBeInitialize= [mutableArr count];// we are finding the number of buttons to be initialize and we assign it to a variable.
今、私はボタンを作成する必要があります(によって返される数は何でも numberOfButtonsToBeInitialize)
これどうやってするの ?