AMScrollingNavbar icon indicating copy to clipboard operation
AMScrollingNavbar copied to clipboard

How to add custom buttons ?

Open codemaster730 opened this issue 9 years ago • 3 comments

Hello, thanks for publishing a great component. It seems I don't have a way to put custom buttons for both left & right side. Would it be possible to add custom buttons? Thanks in advance.

codemaster730 avatar May 30 '16 17:05 codemaster730

Hi @wirakoon78 It should be possible. Can you post the code you are using?

andreamazz avatar Jun 03 '16 14:06 andreamazz

How to add rightBarButton into amScrollingNavbar

khaskheli24 avatar Sep 03 '16 09:09 khaskheli24

[[self navigationItem] setLeftBarButtonItems:@[[[UIBarButtonItem alloc] initWithTitle:@"table" style:UIBarButtonItemStylePlain target:self action:@selector(pressVC)]]];
[[self navigationItem] setRightBarButtonItems:@[[[UIBarButtonItem alloc] initWithTitle:@"info" style:UIBarButtonItemStylePlain target:self action:@selector(press)]]];

CLOSEND @andreamazz

StefaniOSApps avatar Oct 19 '18 18:10 StefaniOSApps