This is a migrated thread and some comments may be shown as answers.

Android and iOS iframe

3 Answers 195 Views
Feedback & Suggestions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aleksandar
Top achievements
Rank 1
Aleksandar asked on 16 Sep 2013, 02:23 PM
Hey can you please help us with a problem that we have using the Icenium when we test in the simulator everything in all the simulators is working fine but when we build the app and test it on the device we have a strange problem - ot the iPad we have infinity scroll and on the Android tablet we have no scroll at all. The app is made from scratch (blank cross-platform) and the only thing that is put into it is the iframe - 
   <iframe src="http://wwwgoogle.com"></iframe> . 

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 18 Sep 2013, 03:02 PM
Hi Aleksandar,

Using google.com for the sample is a bad choice as it gives "Refused to display 'https://www.google.com' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."

We used icenium.com instead:

<iframe src="http://www.icenium.com" width="1000px" height="1000px"></iframe>

and deployed the app on iPad Mini (6.1.3) and Nexus 7 (Android 4.3) and we were able to scroll on both devices and successfully view the whole page.

Regards,
Steve
Telerik

Big news for mobile app and .NET developers! Hear about it at our Release Keynote. Thursday, September 26th, 11AM EDT
Do you enjoy Icenium? Vote for it in Windows IT Pro Community Choice Awards as Best Cloud Computing Product or Service (Category 5).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
IT
Top achievements
Rank 1
answered on 08 May 2014, 07:05 AM
Hi Steve,

I'm experiencing the same behavior on iOS7. Actually, iframe scrolls in an empty project however doesn't in kendo tab views.

Is there a css change that can be useful?
0
Kaloyan
Telerik team
answered on 12 May 2014, 02:49 PM
Hi IT,

As said in your support ticket:
"Basically, we do not encourage our clients to use iframe inside mobile applications. This is so, as the mobile browsers are still struggling in a lot of ways to support it. And overcoming one issue with iframe, normally leads to a bunch of others, just as in your case.

However, as this appears to be the only straight forward way to achieve your goal, you can check if enabling the native scrolling for your kendo app fixes the issue.
"

I hope this helps.

Regards,
Kaloyan
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
Feedback & Suggestions
Asked by
Aleksandar
Top achievements
Rank 1
Answers by
Steve
Telerik team
IT
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or