0
私はどんな提案やソースコードを与えると同じサイズで、ツールバーに設定されているすべてのボタンに取り組んできたiPhoneの初心者です同じサイズのツールバーに5つのボタンを設定する方法は?
私はどんな提案やソースコードを与えると同じサイズで、ツールバーに設定されているすべてのボタンに取り組んできたiPhoneの初心者です同じサイズのツールバーに5つのボタンを設定する方法は?
このようなToolBarItemsでこのArray:コースの
NSMutableArray *buttonsArray = [[NSMutableArray alloc] init];
UIBarButtonItem *myButton1=[[UIBarButtonItem alloc] style:UIBarButtonItemStylePlain target:self action:@selector(toolbarButtonPressed1:)];
[buttonsArray addObject:myButton1];
//here you set the other properties for your first button
// and then you do the same for your other buttons
[self setToolbarItems:buttonsArray animated:YES];
あなたは前に:)
ツールバーを宣言している必要があります