I am trying to rotate the detail disclosure indicator by 90 degrees in a static UITableView using the following code, but it is not working.
NSIndexPath* cellIndext = [NSIndexPath indexPathForRow:1 inSection:0];
UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:cellIndext];
cell.accessoryView.transform = CGAffineTransformMakeRotation(90.0*M_PI/180.0);
also tried:
cell.accessoryView.transform = CGAffineTransformRotate(cell.accessoryView.transform, 90*M_PI/180);
still did not work, any help is appreciated.
Please note: I am not talking about the detail disclosure button I am talking bout the detail disclosure indicator. Also, I want to avoid using a custom image for it, just want to use the built in one.