4
UIToolBarアイテムの整列
UIBarButtonItem以下のように3つ作成しました。左揃えで、中央に揃えて、右側に隙間が無いようにしたいです。にalignプロパティが表示されませんUIToolBar。これを達成する別の方法はありますか? //create some buttons UIBarButtonItem *aboutButton = [[UIBarButtonItem alloc] initWithTitle:@"About" style:UIBarButtonItemStyleBordered target:self action:@selector(showAbout:)]; [toolbar setItems:[NSArray arrayWithObjects:settingsButton,deleteButton,aboutButton,nil]]; //Add the toolbar as a subview to the navigation controller. [self.navigationController.view addSubview:toolbar];
112
ios
cocoa-touch
uitoolbar