UITableView Voice Over Problem

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

  1. erdinc27 macrumors regular

    Joined:
    Jul 20, 2011
    #1
    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
    Code:
        
    override public func awakeFromNib() {
            super.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