• 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: The Rhythmic <email@hidden>
  • Date: Tue, 31 Jul 2012 14:09:56 +0530

Have you connected an IBOutlet from code & then linked it in storyboard? I
assume you are programmatically setting the frame on this IBOutlet. And,
Did you check the Table View object's autosizing in Storyboard?

To debug, you can try adding another table view object (ignore the
problematic one) completely programmatically (don't configure it via
storyboard) and set it to the same frame size  (0, 313, 768, 598). BTW, how
do you get 768 & 598? Are they valid? YOu can also try setting the height &
width of the problematic tableview to something smaller just for a try (say
(0,200,320,100).



On Tue, Jul 31, 2012 at 12:37 PM, Alex Zavatone <email@hidden> 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: FSEvents eventid (or perhaps event)'s life
  • Next by Date: Re: NSTextView scrolling
  • Previous by thread: UITableView not obeying storyboard settings
  • Next by thread: Re: UITableView not obeying storyboard settings
  • Index(es):
    • Date
    • Thread