iFrame resizing on iOS

Get help using Construct 2

Post » Mon Aug 17, 2015 1:39 pm

I'm having a problem with an iOS XDK app. The app has an iframe in it in which I display some content. On other platforms it is fine but when it opens on ios the iframe resizes vertically so that it's big enough to accommodate the whole linked webpage. Horizontally it is fine, it just resizes vertically. I'm using an anchor behaviour to make it dynamically fit the window but it doesn't work on ios. Any help would be appreciated
B
12
S
1
Posts: 34
Reputation: 677

Post » Mon Aug 17, 2015 2:31 pm

iframes on iOS are weird. Add the attributes scrolling="no" noresize="noresize" and they generally work better.
Scirra Founder
B
402
S
238
G
89
Posts: 24,637
Reputation: 196,071


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests