antoniocasero / Panels

Panels is a framework to easily add sliding panels to your application
MIT License
1.5k stars 89 forks source link

UITableViewController #1

Closed hobbesthetige closed 5 years ago

hobbesthetige commented 6 years ago

Hi, this doesn't work on when presenting from a UITableViewController :(

antoniocasero commented 6 years ago

Hi 👋 Could you be more specific? What is not working?

On 5. Oct 2018, at 17:13, hobbesthetige notifications@github.com wrote:

Hi, this doesn't work on when presenting from a UITableViewController :(

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

hobbesthetige commented 6 years ago

It looks like the constraints don't work against the tableview in a UITableViewController subclass. I was able to work around by changing my controller to a UIViewController and adding a tableview to it.

2018-10-05 13 32 30

antoniocasero commented 6 years ago

Yep, UITableViewController contains a tableView instead of a view. The table view is a scrollview and its contents are dynamic, so the layout works differently. I'm afraid there is no way to work around these things.