fix(): fixed compilation error in preview dialog position for ios

This commit is contained in:
shnist 2018-12-13 10:24:42 +00:00
parent 9b4a15833e
commit 257482f323

View File

@ -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];