hi i've got right button ala:
code:
-(id)init { //[[self navigationitem] settitle:[nsstring stringwithformat:@"%@ cards",[company companyname]]]; uibarbuttonitem *bby = [[uibarbuttonitem alloc] initwithbarbuttonsystemitem:uibarbuttonsystemitemcamera target:self action:@selector(switchtoqrcodereader)]; // set bar button right side item in navigationitem // [[self navigationitem] setrightbarbuttonitem:bby animated:yes]; [bby release]; }
and same button on view. left button slides in/out ok, right button floats. how rightbutton slide well?
thanks
ian
hi,
i'm not sure mean "floats"?
recommend put code -(void)viewdidload, , if possible give screenshots further diagnose issue?
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment