• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UITableView not obeying storyboard settings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UITableView not obeying storyboard settings


  • Subject: Re: UITableView not obeying storyboard settings
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 31 Jul 2012 08:33:12 -0400

Ahh, thought I caught this before it went out.

In any case, it appears that setting the frame of a UITableView doesn't do anything on viewDidLoad, or viewWillAppear, but does work on viewDidAppear.

And the reason the tableView didn't obey the storyboard settings was that the parent view wasn't wired to the class's view outlet.

Cheers.

On Jul 31, 2012, at 3:07 AM, Alex Zavatone wrote:

> I've got a UITableView within another view on a storyboard as in the example here:
>
> https://docs.google.com/file/d/0B3FbUXsjem4pcFJkeWpTVzVRdVU/edit?pli=1
>
> In my storyboard, the rect of the UITableView is (0, 313, 768, 598), and I am navigating to the scene ala a segue.
>
>
> But as soon as viewDidLoad is called, the frame rect of the UITableView is  (0 0; 768 911).
>
> I'm not setting this anywhere and setting  UITableView.frame back to CGRectMake(0, 313, 768, 598) doesn't do anything on viewDidLoad or viewWillAppear.
>
> Can anyone point out what I'm missing or doing wrong and why this is resizing to full screen in the first place??
>
> Thanks in advance,
> - Alex Zavatone
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >UITableView not obeying storyboard settings (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: UIScrollView insertSubview:atIndex: problem
  • Next by Date: Re: UIScrollView insertSubview:atIndex: problem
  • Previous by thread: Re: UITableView not obeying storyboard settings
  • Next by thread: NSTask and NSPipe has buffering issues?
  • Index(es):
    • Date
    • Thread