I am getting json data where i also get value for what kind of accessory type i have to show for each row. It comes as follows:
{
accessoryType = UITableViewCellAccessoryDetailDisclosureButton;
}
When I directly assign this value to cell.accessoryType
, it does not show up.
I have tried prining it as a String, and it prints correctly. How should I proceed? Can I convert NSSTring to UITableViewCellAccessoryType?