t-evans / webwrapper

A simple iOS app shell that is designed to wrap multiple mobile web sites. There is a slide-out menu with links for navigating between each website. It can also be configured to cache the contents of each website for offline viewing.
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

See you again! bro :) #3

Open mrjotika opened 9 years ago

mrjotika commented 9 years ago

When I tap Home item, it always go to second items. can you help me how to set home to dynamic url belong it's value, and no more go to second items. thank you very much bro. I have a nice app from yours.

t-evans commented 9 years ago

If your point me to your repository, I could take a quick look tomorrow.

mrjotika commented 9 years ago

img_0244 I attach picture above, when I tap Home, then alway go to second items instead.

t-evans commented 9 years ago

What does your settings file look like?

mrjotika commented 9 years ago

here settings.plist I set , I posted these format code, not not keep source, don't u mind look at http://pastebin.com/BpikjNQs

t-evans commented 9 years ago

If you use a "dynamic" navigationItem, it will pull the URL for that Navigation item from your [NSUserDefaults standardUserDefaults] dictionary.

In my app, I'm setting values of the [NSUserDefaults standardUserDefaults] dictionary using the app settings (https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html), though, you could set it by other means, if you'd like.

mrjotika commented 9 years ago

let me try to fix out. thank you