开发者

Master View in Iphone

开发者 https://www.devze.com 2023-03-25 08:42 出处:网络
I had asp.net back ground and now developing apps for Iphone. I have been wondering is there some thi开发者_开发技巧ng master view or theme for app as we had master pages for website designing in asp

I had asp.net back ground and now developing apps for Iphone. I have been wondering is there some thi开发者_开发技巧ng master view or theme for app as we had master pages for website designing in asp dotnet which make the whole website design generic thanks


No you really don't have anything similar. You do get two great application templates, the Tab based view or the Navigation based. In the navigation controller certain things follow each view like the style of the navigation bar but that is it.

If you want to use something like PhoneGap and drop that into XCode then use a web based UI framework like jqTouch, then you can have a template :) but that is a completely different application model.


Master View? I'm not sure what you mean by this. You have a Window (UIWindow) that you add Views to (UIView). You only have one window, but are free to have as many Views as you like.

So it depends what you want to add, for example i have a banner that i want at the tope of evert screen. I added the ImageView to the window and scaled the Views so they left the top of the window showing.

If you wanted to add some default behaviour to your Views and or add an image view to every view. You could simply subclass UIViewController and go from there?

If you give a touch more detail about what you want to achieve I'll gladly go into more detail.

0

精彩评论

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