Group simulation method based on Plain type of UITableView in iOS system
A type and view technology, applied in the direction of program control devices, etc., can solve the problem of no effect, etc., to achieve the effect of more interaction of the app, beautiful sliding effect, and multi-visual space.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] Such as figure 1 As shown, the method of simulating Group based on UITableView type Plain in iOS system includes the following steps:
[0020] Step 1. Create a UITableView of type Plain and create a view controller;
[0021] Step 2. Load the tableView on the view controller, and create at least one area for the tableView;
[0022] Step 3. Create a view, load the view into each of the regions, define the tableView and section attributes of the view, and override the setFrame method:
[0023] -(void)setFrame:(CGRect)frame{CGRect sectionRect=[self.tableView rectForSection:self.section]; CGRectnewFrame=CGRectMake(CGRectGetMinX(frame),CGRectGetMinY(sectionRect),CGRectGetWidth(frame),CGRectGetHeight(frame)) ;[super setFrame:newFrame];};
[0024] Step 4. Rewrite the tableView:viewForHeaderInSection: method in the view controller:
[0025] SectionView*sectionView=[[SectionViewalloc]init];
[0026] sectionView.tableView = self.tableView; sectionView.section = section;
[0...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com