ios8: Unable to get elements from a dynamic table with the text in the cell same as name of the cell

I am trying to find a dynamically generated table cell which has the same name as the text in the cell, using getelementbyname eg

tableview

  • dynamiccell1
  • dynamicmycell2

driver.getElementByName(“dynamiccell1”)

This works fine with appium 1.3, ios7.1 but does not work with ios8.0. is there any specific change needed?

findElementsByXpath("//UIATableCell='name_of_cell')

try that