开发者

how to add back ground image to navigation controller root view

i want to add bg image to root view so that it will be visibl开发者_如何学JAVAe in all views ....


Have a UIImageView behind the navigation controller. Then make the background for the visible view controller of the navigation controller transparent.


As an alternative to using transparency -- make a custom subclass of UIView that you use for your views that go get the background image of the root view. If you make the views transparent, they will look different during animation (slide in/out) than they would if you repeat the image in each view.


i have added image to window in IB of rootview controller that solved my problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜