region method
Requests that only a region within a selected i-frame should be matched.
Syntax
Call syntax
instancetype target = [ obj region : region ]
;
Declaration
(instancetype)region:(Region *)region
Parameters
- region
- Type:Region*
- An object that defines a rectangular area in the window.
Return value
- Type: instancetype
- The value returned is the object that called the method. You can use it to call other methods supported by the object class.
Remarks
The parameter to the method specifies the region to be matched.
You may only call this method once in a given chain.