Working with Report Parameter Controller

Operating system requirements: iOS 5.0 or later.

Mobile device: iPad.

Description

This example displays creating a report parameter controller.

Source Code

Executing the example requires to place the following code in the body of the executeExample method of the ViewController class (see the Displaying of Express Report section):

// Get express report data view controller
MAExpressAnalysisReportViewController *reportViewContr = (MAExpressAnalysisReportViewController *)m_controller;
// Create a report parameter controller
MADataReportSettingsViewController *settingsViewContr = [[[MADataReportSettingsViewController alloc] initWithDelegate: reportViewContr] autorelease];
// Display controller view in a popup window
[reportViewContr showInPopover:settingsViewContr fromView:[self view] inRect:CGRectMake(50, 50, 300, 250) permittedArrowDirections:NULL];

After executing the example a popup window containing report parameter controller view:

See also:

Example of Component Use