有没有可能在Ipad导航栏的右角添加两个按钮?

有没有可能在Ipad导航栏的右角添加两个按钮?,ipad,uinavigationbar,Ipad,Uinavigationbar,我正在用IPad开发一个应用程序。在该应用程序中,我想在右角添加两个按钮。在此之前,我想知道是否有可能。如果有可能,请告诉我它是如何实现的。是的,有可能 是的,这是可能的 请任何人帮助我完成此操作…请任何人帮助我完成此操作…谢谢…以上链接对于满足我的要求更为有用(在右角添加超过2个按钮),不客气。按照链接中的示例,可以创建自定义按钮,并以与常规按钮相同的方式添加它。例如:UIButton*customButton=[UIButton Button WithType:UIButtonTypeCus

我正在用IPad开发一个应用程序。在该应用程序中,我想在右角添加两个按钮。在此之前,我想知道是否有可能。如果有可能,请告诉我它是如何实现的。

是的,有可能

是的,这是可能的


请任何人帮助我完成此操作…请任何人帮助我完成此操作…谢谢…以上链接对于满足我的要求更为有用(在右角添加超过2个按钮),不客气。按照链接中的示例,可以创建自定义按钮,并以与常规按钮相同的方式添加它。例如:UIButton*customButton=[UIButton Button WithType:UIButtonTypeCustom];customButton.frame=CGRectMake(0,0,45,45);[customButton setBackgroundImage:[UIImage ImageName:@“Alert_Small.png”]用于状态:UIControlStateNormal];UIBarButtonItem*customBarButton=[[UIBarButtonItem alloc]initWithCustomView:customButton];[按钮添加对象:customBarButton];谢谢你…上面的链接对于满足我的要求更有用(在右角添加2个以上的按钮),不客气。按照链接中的示例,可以创建自定义按钮,并以与常规按钮相同的方式添加它。例如:UIButton*customButton=[UIButton Button WithType:UIButtonTypeCustom];customButton.frame=CGRectMake(0,0,45,45);[customButton setBackgroundImage:[UIImage ImageName:@“Alert_Small.png”]用于状态:UIControlStateNormal];UIBarButtonItem*customBarButton=[[UIBarButtonItem alloc]initWithCustomView:customButton];[按钮添加对象:customBarButton];