A method is called when a return button on the keyboard is pressed. After calling another method which returns an integer a message is created based on that integer. The message
i had an issue like this ...i was calling uiAlertView from a background thread ....call it from the main thread