Quote:
Originally Posted by meeper
Have the same problem 
|
it seems the easiest way in my head would be to make a BOOL = YES whenever one of your textFields is pressed.
under the didStartEditing (if that's what it's called, I forget) make your BOOL yes.
then surround all your code to show the toolbar with an if clause...
keyboardDidShow {
if (myBOOL == YES) {
//do all your code to show the toolbar here
}
}
under didFinishEditing (or whatever it's called) make your BOOL no.
i'll quite possible be trying something very similar quite soon, so i'll post some code example if i do.
if somebody beats me to it, please post your code here!
cheerio,
tim