Hi I've got a right button ala:
and the same button on another View. the Left button slides in/out ok, but the right button floats. How do I get the RightButton to slide as well?
thanks
Ian
Code:
-(id)init
{
//[[self navigationItem] setTitle:[NSString stringWithFormat:@"%@ Cards",[company companyName]]];
UIBarButtonItem *bby = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemCamera
target:self
action:@selector(switchToQRCodeReader)];
// set this bar button to the right side item in the navigationItem //
[[self navigationItem] setRightBarButtonItem:bby animated:YES];
[bby release];
}
and the same button on another View. the Left button slides in/out ok, but the right button floats. How do I get the RightButton to slide as well?
thanks
Ian