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

ChildBrowser Plugin Hide Safari Button

3 Answers 22 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nitish
Top achievements
Rank 1
Nitish asked on 04 Sep 2013, 04:38 PM
Hi, I cant seem to figure out why removing the safari code and the URL code from the ChildBrowserViewController.xib does not work. It seems its getting the source file from some online repository because whenever I modify that xib file, it does not reflect any change on my app. Btw, im running the app on my Icenium Ion. I have also tried compiling it several times. What I want to do is to remove the URL display and the safari button on the default childbrowser clone/example that we already have when we use Icenium Mist. Hoping for a quick reply. Thanks.

Cheers

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Sep 2013, 07:24 AM
Hello Nitish, 

Childbrowser is deprecated and we highly recommend using the built-in InAppBrowser instead. You can use the location option to hide the url.

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Nitish
Top achievements
Rank 1
answered on 05 Sep 2013, 08:25 AM
Hi Steve,

I was successfully able to transfer my codes in the InAppBrowser and it solved my safari and location problem. Thanks for that. However, the problem that I have now is I cant put the zooming inside the InAppBrowser to work. I have already tried EnableViewPortScale=yes, but still no luck. Here is my code:

window.open("http://yahoo.com", "_blank", "location=no", "EnableViewPortScale=yes");

I would be happy if you could help me solve my last problem. Thank you

Cheers
Nitish
0
Steve
Telerik team
answered on 05 Sep 2013, 12:38 PM
Hi Nitish,

The syntax is incorrect, the options are a single string, not an object. It should be used like so:

window.open("http://yahoo.com", "_blank", "location=no,EnableViewPortScale=yes");

Regards,
Steve
Telerik

Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
General Discussion
Asked by
Nitish
Top achievements
Rank 1
Answers by
Steve
Telerik team
Nitish
Top achievements
Rank 1
Share this question
or