Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
public override void ViewDidLoad()
{
base.ViewDidLoad();
TabItem1Controller tabItem1Controller = new TabItem1Controller();
TabItem2Controller tabItem2Controller = new TabItem2Controller();
var tabView = new SfTabView();
tabView.Frame = new CGRect(0, 0, View.Frame.Width, View.Frame.Height);
View.AddSubview(tabView);
var tabItems = new TabItemCollection
{
new SfTabItem()
{
Title = "Calls",
Content = tabItem1Controller.View
},
new SfTabItem()
{
Title = "Favorites",
Content = tabItem2Controller.View
}
};
tabView.Items = tabItems;
} |