ios - Right bar button item action is not working on iOS11 -
i have created right action bar item button using following code. code working fine below ios 11, not working on ios 11.
self.navigationitem.rightbarbuttonitem = [[uibarbuttonitem alloc]initwithtitle:nslocalizedstring(@"save", nil) style:uibarbuttonitemstyleplain target:self action:@selector(updatebuttontapped)];
i noticed same thing in beta 6. not solution me works if add in viewdidappear instead of viewdidload.
Comments
Post a Comment