mirror of
https://gitee.com/shuto/cordova-plugin-file-opener2.git
synced 2025-01-31 12:02:49 +08:00
fix(): fixed compilation error in preview dialog position for ios
This commit is contained in:
parent
9b4a15833e
commit
257482f323
@ -44,7 +44,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
NSArray *positionValues = command.arguments[3];
|
NSArray *positionValues = command.arguments[3];
|
||||||
rect = CGRectMake(0,0,[[positionValues objectAtIndex:0] floatValue],[[positionValues objectAtIndex:1] floatValue]);
|
rect = CGRectMake(0,0,[[positionValues objectAtIndex:0] floatValue],[[positionValues objectAtIndex:1] floatValue]);
|
||||||
} else {
|
} else {
|
||||||
rect = CGRectMake(0, 0, cont.view.bounds.size.width, cont.view.bounds.size.height);
|
rect = CGRectMake(0, 0, 1000.0f, 150.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
CDVViewController* cont = (CDVViewController*)[super viewController];
|
CDVViewController* cont = (CDVViewController*)[super viewController];
|
||||||
|
Loading…
Reference in New Issue
Block a user