iOS Question viewWillDisappear

narek adonts

Well-Known Member
Licensed User
Longtime User
Because I want to call textview.resignFocus and on page_Diisappear it doesnt work. It should be called before the page disappeared. I am using the back button of NavigationController.

I resolved this by setting textview..editable.false and after again textview.editable=true (to hide the keyboard)
 
Upvote 0

narek adonts

Well-Known Member
Licensed User
Longtime User
Yes I this but it hides the keyboard only after showing the page.
Anyway I solved it by makin textview.editable=false when page disappear.
But will be great to add more delegates to controls (like for textview)
 
Upvote 0

narek adonts

Well-Known Member
Licensed User
Longtime User
I thought it is based on viewDidDisppear.

What I was meaning with more delegates is that for exemaple textview support only Click and Doubleclixk events. I changed to delegate of Textview to my module to be able to use the OnEdit,... events.

It is not so difficult but anyway will be great to support more and more events for controls in b4i.
 
Upvote 0
Top