How to set first row of table view cell in sidebar different from all other rows - swift
0
I've created side menu as shown in this..and I want image view only for the first row with full name label so that if anybody clicks on image view of the first row, allow the user to choose an image from the gallery. moreover, all other rows should contain only the text which redirects to another view controller. Please suggest any link or any piece of code get image view only on the first row of side menu with a button to choose an image from gallery. Here is my code var arrdata = ["Full name", "Home", "Favourite", "Logout"] var arrimg = [#imageLiteral(resourceName: "hello.png"), #imageLiteral(resourceName: "hello.png"), #imageLiteral(resourceName: "hello.png"), #imageLiteral(resourceName: "hello.png")] @IBOutlet var sid