Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Doesn't resize tableview of left side view controller #8

Closed
nemesyssoft opened this issue Apr 15, 2014 · 6 comments
Closed

Doesn't resize tableview of left side view controller #8

nemesyssoft opened this issue Apr 15, 2014 · 6 comments
Assignees
Milestone

Comments

@nemesyssoft
Copy link

It seems that there is a problem with resizing of at least the left panel view controller. I have an application with a black translucent tab bar. The left panel view controller is a subclass of UITableViewController. When the view is pushed on screen, the tableview is not resized properly resulting in the latest row not full displayed. It is as if the tableview doesn't realize that there is a tab bar.

In the screenshot attached, I scrolled the tableview as much as I could but the last row is partly visible.

ios simulator screen shot apr 15 2014 11 04 42

@SebastienMichoy
Copy link
Owner

Hi @nemesyssoft!

I cannot test right now but I will test tonight. To be sure, did you set the autoresizingMask property of your UITableView? In your case, it will probably be UIViewAutoresizingFlexibleHeight.

@nemesyssoft
Copy link
Author

Everything is configured in a storyboard. I just dragged a
UITableViewController from the toolbox into my canvas and then created a
custom segue from the sliding view controller to that tableview controller
with the proper ID. I can't set any mask property (I'm using autolayout, by
the way).

-Laurent.

Laurent Daudelin [email protected]
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software

On Tue, Apr 15, 2014 at 11:18 AM, Sébastien MICHOY <[email protected]

wrote:

Hi @nemesyssoft https://github.com/nemesyssoft!

I cannot test right now but I will test tonight. To be sure, did you set
the autoresizingMask property of your UITableView? In your case, it will
probably be UIViewAutoresizingFlexibleHeight.

Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-40494358
.

@SebastienMichoy
Copy link
Owner

I think I found the problem. I'm very busy for next days, however I think it will be fixed for monday.

@SebastienMichoy SebastienMichoy added this to the 1.3.2 milestone Apr 15, 2014
@nemesyssoft
Copy link
Author

Don't worry too much about it. I set the table view size in viewDidLoad: and our app is not ready to distribute yet.

-Laurent.

Sent from my iPad mini

On Apr 15, 2014, at 18:36, Sébastien MICHOY [email protected] wrote:

I think I found the problem. I'm very busy for next days, however I think it will be fixed for monday.


Reply to this email directly or view it on GitHub.

@SebastienMichoy
Copy link
Owner

Hi!

An little update!

By looking more deeply, I realized that there is no bug in your case. By using a translucent UITabBar, it is the expected behavior to have some content under the tab bar.
I guess you have another behavior for the center view: it is probably because you use a UINavigationBar which resizes automatically the view.

To be able to display correctly the last row, you have several options:

  • resize your UITableView,
  • modify your UITableView insets,
  • use a non-translucent tab bar.

By trying the last option, I discovered a glitch I will try to fix very soon. So thank you for your question! I will notify you when as soon as this glitch will be fixed.

@SebastienMichoy
Copy link
Owner

I pushed a new version of the controller (1.3.2.). It should fix the bug when the UITabBar is not translucent. Let me know if it fixes your problem.

Repository owner locked and limited conversation to collaborators Sep 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants