arkilis
5/30/2017 - 12:19 AM

selector in objective c

selector in objective c


UIBarButtonItem *btnEmail = [[UIBarButtonItem alloc] initWithTitle:@"Email Me"
                                                            style:UIBarButtonItemStylePlain
                                                           target:self
                                                           action:@selector(onSendEmail)];
self.navigationItem.rightBarButtonItem = btnEmail;


-(void)onSendEmail{
}