Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Instance Methods | Public Attributes | List of all members
iOSAlertDelegate Class Reference

`#import <iOSAlerts.h>`

Inheritance diagram for iOSAlertDelegate:

## Instance Methods
(void) | - alertView:clickedButtonAtIndex:
(void) | - alertView:didDismissWithButtonIndex:
(void) | - didPresentAlertView:

## Public Attributes
NSInteger | buttonNumber

## Detailed Description

Puts the current thread in a modal state & shows the alert. This should only be called from the main thread. If you call it from any other thread, bad things will happen. So don't. The 'main thread' here means the program's thread zero. The first thread. In multithreaded Torque, this is NOT the game loop thread. On the Mac, events and alerts have to happen in thread zero.

## Method Documentation

- (void) alertView: |  | (UIAlertView *) | alertView
clickedButtonAtIndex: |  | (NSInteger) | buttonIndex

- (void) alertView: |  | (UIAlertView *) | alertView
didDismissWithButtonIndex: |  | (NSInteger) | buttonIndex

- (void) didPresentAlertView: |  | (UIAlertView *) | alertView |

## Member Data Documentation

- (NSInteger) buttonNumber

The documentation for this class was generated from the following files:

- platformiOS/iOSAlerts.h
- platformiOS/iOSAlerts.mm