UITableView width when inside a popover?

Up vote 0 down vote favorite share g+ share fb share tw.

See below - the tableView cells are getting cut off. Why doesn't this work? The width of the popover is 240.

(In a subclass of UITableViewController) - (void)viewDidLoad { super viewDidLoad; self.tableView. Frame = CGRectMake(0,0,200,200); } uitableview ipod uipopovercontroller link|improve this question asked Oct 27 '10 at 19:11sol86211128 56% accept rate.

I.e. Self. PopoverController.

PopoverContentSize = CGSizeMake(400, 500); I've found that while popover's are "suppose" to adjust to the appropriate size based on the content view controller, this doesn't always work as well as it should.

You have to specify the content size of the ui controller you are displaying. You can do it in 2 ways: access the ui controller from your popover controller and set it size: UIViewController* yourViewController = yourPopOverController. ContentViewController; yourViewController.

ContentSizeInViewController = CGSizeMake(300, 600); check the checkbox "Use Explicit Size" for popover in the inspector of the viewController in storyboard As you see the content ui controller is the one responsible of setting the size of your popover.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions