Giter VIP home page Giter VIP logo

Comments (7)

tristaaan avatar tristaaan commented on May 4, 2024

hmm... I've been using Swifter in production and have had no problems running it on a device.
https://github.com/Kitware/arctic-viewer-ios

from swifter.

flashspys avatar flashspys commented on May 4, 2024

Maybe try the following:
Start the Swifter Demo App on a real device.
Then press home button and open Safari and try to access localhost:8080 . On my devices it wont load. Only after I switch back to Demo App and switch back again to Safari I can see the loaded content

from swifter.

tristaaan avatar tristaaan commented on May 4, 2024

For what it's worth, I'm using the last version of swifter compatible with Swift 1.2. Perhaps something small has changed that causes the reported issue?

from swifter.

sjbodzo avatar sjbodzo commented on May 4, 2024

I notice the same behavior as tristaaan. The application cannot run in the background, so it must have focus on your iPhone to process your requests. Additionally, I cannot connect to the web server from other devices on the network.

from swifter.

tristaaan avatar tristaaan commented on May 4, 2024

If you'd like to try the application I mentioned App Store link, but again it's using an older version of swifter. I see the backgrounding problem now, but while the app is active I've had no problems accessing the server from other computers and devices on the same network.

from swifter.

flashspys avatar flashspys commented on May 4, 2024

When the app is active, everything works as far as I know fine. But I think Swifter should handle the situation that the webserver is called when Swifter is in background.

from swifter.

kaaaaai avatar kaaaaai commented on May 4, 2024

I have the same problem. Have anyone solved it?

from swifter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.