In my view, I added another view (named popupview) for custom popover like animation.
In the popupview, I have added a table view and have set some bounds to the table view, but the table view height doesn't change, whatever height I set in the xib.
There is another problem that when scrolling in the tableview, it scrolls out of the view even if the tableview is inserted in the popup view.
There are no issues with the image I have used. It has the same height, width as the second uiview popupview.
XIB Structure:
View1 mainView - table view
View2 PopupView {Orange View}
TableView2 - table in popup view