开发者

subviews and performance issues in iOS

I have different view controllers and i linked them using insertsubview

There are atleast three levels of subviews for every screen the users sees.

I havent tested it on device yet.

I want to know whether this causes any performance issues

Also, is using NavigationBarControlle开发者_如何学Pythonr pop and push views better than addsubview and remove from super view.

(I dont want the back functionality of NavigationBarController and want a custom header. That is why i didnt use NavigationBarController)


This is an interesting statement :

I haven't tested it on device yet.

My advice is simple :

Test it on a device.

Only you know what your app does - you can't possibly think we can answer your question with so little information! 3 doesn't seem a very big number but I don't know what each of those views is doing so maybe it's an issue, maybe not.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜