Open Safari Zoomed

Discussion in 'iOS Development' started by Tyr0, Jul 29, 2008.

  1. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    i was wondering if there was a way to make safari load a page (done), but have that page load zoomed in on a certain part of it, rather than showing the full page.
  2. therealduckie

    therealduckie Member

    Joined:
    Apr 9, 2008
    Messages:
    318
    Likes Received:
    6
    Device:
    4G iPod touch
    Easy to do...just make a webapp out of the link.
  3. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    hmm... maybe more details? sorry

    or is there any easier way, just wondering.

    thx
  4. crizh4x

    crizh4x Active Member

    Joined:
    Sep 19, 2007
    Messages:
    4,474
    Likes Received:
    17
    Device:
    2G iPod touch
    He means a WebClip, you know? the thing that makes an icon of your favorite site on the SpringBoard?
  5. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    hmm... okay, yeah, that worked. But i would like it to get opened like that from my app im currently making, in objective-c.
  6. crizh4x

    crizh4x Active Member

    Joined:
    Sep 19, 2007
    Messages:
    4,474
    Likes Received:
    17
    Device:
    2G iPod touch
    look inside the web app's bundle for it's formatting and go from there. it's in /private/var/mobile/Library/Webclips/
  7. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    already did that, this is what i get:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Scale</key>
    <real>0.7479591965675354</real>
    <key>ScrollPoint</key>
    <string>262.000000,229.000000</string>
    <key>Title</key>
    <string>MyWebSite</string>
    <key>URL</key>
    <string>http://www.mywebsite.com</string>
    </dict>
    </plist>

Share This Page