ios: PusTo(View) error????

I have the following code
Dim buffer As Text = TextEncoding.UTF8.ConvertDataToText(Content)

View1(currentview).FromServerTA.text= buffer
View11(currentView).label1.text=buffer
View1.PushTo(View11)

Basically displaying the result in two different views, view1 and view 11

I get the following error:>> Static reference to instance method: call this on an instance of class iOSView<<

But View11 is an instance of class iOS View!!!

Please use the Targets -> iOS Forum for iOS questions :slight_smile:

I tried but I get a message that I am not allowed to initiate conversations in hat channel…;-(

Var myView As New View11
View1.PushTo(myView)

Or

View1.PushTo(View11(currentView))

Hi Derk,
I do not understand why this would help but I may have a conceptual problem by comparing views with windows in the desktop situation. Anyway both solutions result in exactly the same error message. (i’ll try to include two screenshots, but I am not sure if that works.
[/img]
[/img]

Sorry Derk, apparently I didn’t use the proper syntax to embed screenshots in the text. You can see the screenshots at:
http://uniamsterdam.nl/D.J.Bierman/ss1.jpg and
http://uniamsterdam.nl/D.J.Bierman/ss1.jpg
Hope this helps.

[quote=470042:@Dick Bierman]Hi Derk,
I do not understand why this would help but I may have a conceptual problem by comparing views with windows in the desktop situation. Anyway both solutions result in exactly the same error message. (i’ll try to include two screenshots, but I am not sure if that works.
[/img]
[/img][/quote]

See your other topic. Basicly the views must have an instance created, it’s not done for you in iOS