subview
Adding custom UIView to UIViewController in - (void)loadView (Objective-C)
I am taking a programming class (for noobs) and I need to create the UIViewController graphViewController\'s view programmatically (without interface builder).[详细]
2023-04-03 12:46 分类:问答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];[详细]
2023-04-03 10:44 分类:问答Misplacement of contents of UIView
I have a UIView and UIButton (declared in viewDidLoad: method of RootViewcontroller. ). UIView*geopointView = [[UIView alloc] initWithFrame:CGRectMake(0, 320, 120, 100)] ;[详细]
2023-04-03 10:19 分类:问答Setting property of a subview
I have a UIView containing among others a subview. -(void) viewDidLoad { geopointView = [[UIView alloc] initWithFrame:CGRectMake(0, 350, 100, 80)] ;[详细]
2023-04-03 08:29 分类:问答How to draw using drawRect on top of playing video - Apple IOS, Obj-C
I want to be able to draw custom shapes and so forth o开发者_如何学Pythonn top of a playing movie file. At the moment I have a UIView subclass that I have overwritten the drawRect method in and I do m[详细]
2023-04-03 06:30 分类:问答Push next viewcontroller from a subview
Is it possible to push a viewcontroller from a subview? I have a subview of (thumbnail) images, horizontally scrolling. I want each image to be a button, and when pressed to push a view controller (of[详细]
2023-04-03 01:21 分类:问答Accessing self.view from a static library
So I\'m making a static library for iOS. Basically I want people to be able to call something like this:[详细]
2023-04-02 15:42 分类:问答App crash due to error : modifying layer that is being finalized
My app is crashing with the message \"modifying layer that is being finalized\" after scrolling through the table开发者_开发问答view.[详细]
2023-04-02 11:38 分类:问答How to add a subview to a tableview only covering the table cell but not the table header view
I\'m using a UISegmentedControl as the headerview of a tableview. Now I want to add loading 开发者_开发问答view (a view defined by myself) only covering the table cells but not my headerview. How do I[详细]
2023-04-01 16:28 分类:问答How to handle relative positioning in iOS automatically?
I want to position a sub UIView (sub_UIView) as a subview of parent UIView (parent_UIView). When the parent_UIView resizing/moving, the sub_UIView would stay the relative position of the parent_UIView[详细]
2023-04-01 09:04 分类:问答