From 257482f323128f992c179c2d2f2f5f907d78eb88 Mon Sep 17 00:00:00 2001 From: shnist Date: Thu, 13 Dec 2018 10:24:42 +0000 Subject: [PATCH] fix(): fixed compilation error in preview dialog position for ios --- src/ios/FileOpener2.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/FileOpener2.m b/src/ios/FileOpener2.m index ee8a935..925e871 100644 --- a/src/ios/FileOpener2.m +++ b/src/ios/FileOpener2.m @@ -44,7 +44,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. NSArray *positionValues = command.arguments[3]; rect = CGRectMake(0,0,[[positionValues objectAtIndex:0] floatValue],[[positionValues objectAtIndex:1] floatValue]); } 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];