Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Active Publication Date: 2015-05-20
北京财视科技有限公司
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Since Apple launched the iOS7 system, the system style has been flattened. For the UITableView control, developers sometimes require the sliding style to be the same as the plain style of UITableView when dealing with multiple Sections, and its Section can not be pasted on the top of the view. In this way, the entire mobile phone screen can give users a larger area to display content, but the iOS system, whether it is iOS6 or iOS7, does not have such an effect

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Group simulation method based on Plain type of UITableView in iOS system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a Group simulation method based on the Plain type of the UITableView in the iOS system. The method comprises the steps of establishing the Plain type UITableView and establishing a view controller; loading a tableView on the view controller, and establishing at least one zone for the tableView; establishing a view, loading the view to each zone, defining the two attributes, namely tableView and section, of the view, and rewriting the setFrame method; rewriting the tableView:viewForHeaderInSection method in the view controller; achieving Group simulation so that the objective area can become larger for a user.

Description

technical field [0001] The invention relates to a method for simulating a Group based on UITableView type Plain in an iOS system. Background technique [0002] Since Apple launched the iOS7 system, the system style has been flattened. For the UITableView control, developers sometimes require the sliding style to be the same as the plain style of UITableView when dealing with multiple Sections, and its Section can not be pasted on the top of the view. In this way, the entire mobile phone screen can give users a larger area to display content, but the iOS system, whether it is iOS6 or iOS7, does not have such an effect. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method for simulating a Group based on the UITableView type Plain in the iOS system, so that the user's objective area becomes larger. [0004] The present invention is realized like this: a kind of method based on UITableView type Plain simulation ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 沈文策
Owner 北京财视科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products