Hello,
I'm new in iOS want place a button on the navigation tab of my application. I found the function setRightBarButtonItem, but i have no idea how to use it.
How should i use it?
Thank you for your patience.
Best regards
Arek
Hello,
Hi,
FCloseButton := TUIBarButtonItem.Wrap(TUIBarButtonItem.Wrap(TUIBarButtonItem.OCClass.alloc).initWithTitle(NSSTREx(sCameraPopupCloseButton), UIBarButtonItemStyleDone, FToolBarDelegate.GetObjectID, sel_getUid('CloseCamera:')));
FTakePhotoButton := TUIBarButtonItem.Wrap(TUIBarButtonItem.Wrap(TUIBarButtonItem.OCClass.alloc).initWithBarButtonSystemItem(UIBarButtonSystemItemCamera, FToolBarDelegate.GetObjectID, sel_getUid('TakePhoto:')));
FViewController.navigationItem.setLeftBarButtonItem(FTakePhotoButton);
FViewController.navigationItem.setRightBarButtonItem(FCloseButton);
Thank you very much for the kick in the right direction :-)