iOS Question Problem with B4XPages and Chat Layout

alimanam3386

Active Member
Licensed User
Longtime User
I have tried to use this Cross platform chat layout example with B4XPages, I changed some of code for example I used just one page as chat page and all the views are loaded by call loadLayout function like this :

B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
    Root = Root1
    Root.LoadLayout("chat")
    
    Engine.Initialize(pnlContent)
    bc.Initialize(300, 300)
    TextField.NextField = TextField
    
End Sub

when I try to add item to clv I get error :
Error occurred on line: 876 (BCTextEngine)
Object was not initialized (NSObject)

I attached the code. how can I fix this error ? thanks
 

Attachments

  • sample.zip
    173.2 KB · Views: 180
Top