Is it possible to create UIBarButtonItem, refresh button using code in iPhone application?? If yes then how?
Generally, UIBarButtonItem is placed on either navigation bar or tool bar as UIBarButton Item. Though you have not mentioned that where you are placing the refresh button... i'm providing you the example of Navigation Refresh UIBarbuttonItem.
navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(refresh:)];
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.