public override void ViewDidLoad() { base.ViewDidLoad(); this.RestrictRotation(UIInterfaceOrientationMask.Portrait); // Perform any additional setup after loading the view, typically from a nib. tableController = new ProfileSearchTableViewController(ProfileType.FindFriends, NavigationController); Add(tableController.TableView); tableController.TableView.ReloadData(); }
public override void ViewDidLoad() { base.ViewDidLoad(); this.RestrictRotation(UIInterfaceOrientationMask.Portrait); changeBackBtnText = NSNotificationCenter.DefaultCenter.AddObserver(new NSString("ChangeBackBtnText"), ChangeBackBtnText); // Perform any additional setup after loading the view, typically from a nib. tableController = new ProfileSearchTableViewController(ProfileType.FindGroups, NavigationController); Add(tableController.TableView); tableController.TableView.ReloadData(); }