Top "Subview" questions

subview is an abstract representation of a nested hierarchy of views in a MVC framework

How to add a subview to an ImageView in Android

I come from an iOS background. For some reason, I cannot figure out how to add a view to another …

android imageview subview addsubview
android get all subviews of a view

I want to get all children of a RelativeLayout. I get this using the code: aditionView.getAllChildren(). But now the …

android subview android-relativelayout
How to make a subview fill its superview

I can't find the answer here anyway, nor do I see a duplicate question. My code is simple. Given 3 UIView, …

objective-c xcode subview addsubview superview
UITextView change height instead of scroll

By default, the UITextView's contentView becomes scrollable when there is too much text to fit into the textview based on …

iphone uiscrollview uitextview subview
Add subview using storyboard without external xib

I'm learning Objective-C. I have a problem with new storyboard feature. I would initialize a subview inside a main view …

cocoa-touch storyboard subview addsubview
Make a view (initialized from initWithNibName) load all its subview

Assuming I load a view controller from a nib, and decide to do something with one of its subview behind …

iphone uiview load subview
Custom View in UIAlertController

I am trying to put a custom view inside a UIAlertController. I'm running into some odd issues with the sizing …

ios custom-controls subview uialertcontroller custom-view
How to remove a subview from a cell's content view?

I have added a UIWebview to the cell's content view UIWebView *webview = [UIWebView alloc]init]; [cell.contentView addSubview:webview]; Now …

objective-c ios uitableview subview
How can I addSubview to UIButton in Interface Builder

Like I said, I add a UIButton in Interface Builder, I want add a UILabel、UIImageView as the button's subviews, …

ios xcode uibutton interface-builder subview
iphone/ipad - parent UIView is blocking touches from getting to subviews - why?

I have a UIView which has a bunch of subviews. The subviews should be able to receive touch events, but …

iphone ipad uiview touch subview