UITableView Voice Over Problem

Discussion in 'iOS Programming' started by erdinc27, Apr 10, 2018.

  1. erdinc27 macrumors regular

    Jul 20, 2011
    I have a table view in view controller. The first row cannot be selected when the voice over is on. But other rows can be tapped. What can be reason for that? Here how custom cell looks like
    override public func awakeFromNib() {
            self.selectionStyle = UITableViewCellSelectionStyle.none;
            labelName.isAccessibilityElement = true
            labelDirection.isAccessibilityElement = true
            labelStopCode.isAccessibilityElement = true
            labelLines.isAccessibilityElement = true
            labelDistanceOrTime.isAccessibilityElement = true
            self.contentView.isAccessibilityElement = true

Share This Page