问题 I was trying to present a popover from a UITableViewCell 's accessoryView. The view is the default UITableViewCellAccessoryDetailButton . Apparently the accessoryView is nil , and, according to this question, this is an intended behavior. My question is, how do I get the frame of the accessory, even though the accessoryView property is nil? 回答1: You don't need to get the frame to present the popover. When you have an accessory view, the width of the cell's contentView is made narrower so it