I am using auto layouts for the first time and trying to display an overlay(which contains tableview) on top of a view, following is the hierarchy of my overlay view :
View(MainView) -View(SubView) -View(inside SubView) -UILabel(inside 2nd SubView) -UITableView( inside 2nd SubView) -UIButton(inside 2nd SubView)
I have enabled the AutoLayout and Size classes and set all view's constraints to 'Reset to suggested constraints', the issue is ,the 2nd subview is not getting autosized. The tableview gets clipped and UILabel and UIButton does not get displayed on the subview.
Is there any special considerations to be taken into account while setting auto layouts for views inside views, something I am missing ?
Any help or pointers will really be appreciated! Thanks a ton in advance.