[英]ContentView V/S SuperView in iOS?
Well I am newbie, to iOS Application Development. 我是iOS应用程序开发的新手。 I am reading through some reference to develop my application.
我正在阅读一些参考资料以开发我的应用程序。 https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIVisualEffectView/index.html#//apple_ref/occ/instp/UIVisualEffectView/contentView
https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIVisualEffectView/index.html#//apple_ref/occ/instp/UIVisualEffectView/contentView
I am familiar with the concept of Super View and Sub View from View Hierarchy with iOS. 我熟悉使用iOS的“视图层次结构”中的“超级视图”和“子视图”的概念。 But I am confused with the term "ContentView" of the view.
但是我对视图的“ ContentView”一词感到困惑。 Does it mean the view itself or SuperView of that view ?
它是视图本身还是该视图的SuperView?
Please describe how to know what is contentView of the view ? 请描述如何知道视图的contentView是什么?
Well, contentView usually means the main/major view inside something. 好吧,contentView通常表示某事物内部的主视图/主视图。
In this context it means the view to which effect can be added which is synonym to contentView. 在这种情况下,它意味着可以添加效果的视图,它是contentView的同义词。
In UIScrollView, the word content refers to the main scrollable view in it. 在UIScrollView中,单词content指的是其中的主可滚动视图。 (just so you understand)
(只是为了您了解)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.