detailTextLabel textalignment
问题 I am trying to get the cell detail text to be centered. I have read all kinds of posts on this but they all seem to be talking about older versions of IOS. I think I tried every combination of posts but no luck in making it work. [[cell detailTextLabel] setTextAlignment:UITextAlignmentCenter]; I tried this from willDisplayCell and also in the code below, neither works. Note 2 ways of doing this I tried in both methods. Does anyone know if this does work or should I create my own center