I have two views, one is created from interface builder, and the other is programmatically created.
What I want to do is to bring programmatically-created view to forward. But xib-created view is always displayed on the first. In viewDidLoad, I'm using sendSubviewToBack:
to do this, but it seems this code doesn't work.
Some might say that I should create these views only by xib (or only by code). But I don't want to do so.
Is there a good solution to achieve this?
Your thoughts and help will be hugely appreciated.