ChildBrowser Plugin Hide Safari Button

4 posts, 0 answers
  1. Nitish
    Nitish avatar
    7 posts
    Member since:
    Aug 2013

    Posted 04 Sep 2013 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Sep 2013 Link to this post

    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.
  3. Nitish
    Nitish avatar
    7 posts
    Member since:
    Aug 2013

    Posted 05 Sep 2013 Link to this post

    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
  4. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Sep 2013 Link to this post

    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.
Back to Top