Here Im Getting memory leak at eventTextField.keyboardAppearance= UIKeyboardAppearanceDefault; I declared the textfield globally and I allocated the text field in CellForRowAtIndex and my code is: