can anybody help me i am new in xamarin IOS development. i have two controllers one controller have textbox and i want to show textbox data into label second controller how can i share please help me.
In controller A:
var bController = new B(yourTextField.Text);
In controller B:
public B(string text)
yourLabel.Text = text;
Also, if you are using this field in other places you may create singleton model that contains your data.
Thanks for reply can you please explain with storyborad how to share data i have one storyborad and i have two controll and two controller class so how can i share data 1 control to anther control.
Your code not working bro can you please send me code with detail thank you.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies