I solved the issue. In fact it was a plum mistake. I placed the pickerView
before other views. So when it appears on screen, it appears behind the textfield
. I had to put it at the bottom place in my .nib
file.
In iOS, the view added before will go behind other views. I missed this concept.