Closed bryanvero closed 7 years ago
The website needs to be running Turbolinks v5 installed for the iOS framework to work. Google does not have the JavaScript library.
I have installed Turbolinks in my app and confirmed the JS is loaded, but it still hangs in my simulator. I am using http://localhost:3000, and have added the SSL cert to my keychain, and confirmed it loads properly in Safari in the simulator.
When I load my app, the webview just spins. How can I debug what is going on?
It eventually started working, just had to fiddle for a while.
@bryanvero Things to double-check:
FWIW: I started a brand new rails project and brand new IOS project to check out the functionality. I ran into the spinner on a brand new rails app with the URL pointing to localhost:3000. The default index page "Yay you are rails" does not have turbolinks included. After I pointed / to something else like /posts, it worked.
I am trying to add Turbolinks-ios to an existing ios project. I have created a new view controller that is embedded in a navigation controller. I have added the code below and it does load the web display and begin spinning, but it does not load the contents of the webpage. I have confirmed that going to Safari in the simulator does load the page without issue.
The page being loaded is just a simple page with a few assets. I also tried to test this against https://google.com and it just spins the same way.