Is it possible to add dynamically (for example by extending view controller) custom view with specific size like 50px height on bottom every view controller?
I'm using iOS8, autolayout and storybaords, I don't want to modify every single view in storyboard to add my view on bottom.
I'm trying to add in this way:
let view = CustomView(frame:CGRectMake(0, 0, self.view.frame.width, 50));
self.view.addSubview(view)
but view is placed over current controllers view, I need to be able to place is under controllers view, something like advert banner or Tab bar.

layoutSubviewsmethod as well asinsertSubview(_ view: UIView, atIndex index: Int)