[TIMOB-11] API - Titanium.UI.iPhone.createGroupedView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:50:06.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 0.5 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:22:25.000+0000 |
Updated | 2011-04-17T01:50:06.000+0000 |
Description
Description
The purpose of this API is to create a native grouped view in iPhone. This is a pure native view and it will be treated similar to createWindow (in that it will have the same properties and functions available to it). In other words, it is not associated with an HTML page.
Example
// create grouped view
var groupedView = Titanium.UI.iPhone.createGroupedView();
groupedView.addSection(optionSection);
groupedView.addSection(buttonSection);
groupedView.addSection(inputSection);`
groupedView.open({animated:true});
API Arguments
No arguments
API Functions
addSection : add a section to a grouped view
open : open the grouped view
Implemented as of June 23