TexField Disappears

Hi everyone,


So I have a ViewController, inside it i have a TableView and at the bottom of it a View that contains a TextField and a Button.


When the keyboard appears I tried to put the View at the bottom just above the keyboard and my View appears only if I put my View in front like this :

self.view.bringSubviewToFront(SendMessageView)

(Just to be clear my View is visble and I can see it, it only dissapears when I try to move it on top of the keyboard when it appears)

So now that I can see my View when I mooved it above the keyboard, when I begin to type something my View dissapears instantly and I hane no clue why and I don't know how to fix this.

I hope I explained my problem clearly, and of course if needed I can post more of my code, I tried to put a screenshot in the post but it didn't work.


Thanks in advance,


Arkning

Yes I apologize for providing a late answer but I had a lot of work to do.


Yes I tried it it's inside the code I've posted above, but it still isn't working.

Problem comes from the fact that you do not move all the views, notably the view containing message and send.


Or may be simpler, move their common superview.

TexField Disappears
 
 
Q