{"action":"created","issue":{"url":"https://api.github.com/repos/glock45/swifter/issues/42","labels_url":"https://api.github.com/repos/glock45/swifter/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/glock45/swifter/issues/42/comments","events_url":"https://api.github.com/repos/glock45/swifter/issues/42/events","html_url":"https://github.com/glock45/swifter/issues/42","id":110304977,"number":42,"title":"Swifter does not work on iOS Device in Background","user":{"login":"flashspys","id":1114404,"avatar_url":"https://avatars.githubusercontent.com/u/1114404?v=3","gravatar_id":"","url":"https://api.github.com/users/flashspys","html_url":"https://github.com/flashspys","followers_url":"https://api.github.com/users/flashspys/followers","following_url":"https://api.github.com/users/flashspys/following{/other_user}","gists_url":"https://api.github.com/users/flashspys/gists{/gist_id}","starred_url":"https://api.github.com/users/flashspys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flashspys/subscriptions","organizations_url":"https://api.github.com/users/flashspys/orgs","repos_url":"https://api.github.com/users/flashspys/repos","events_url":"https://api.github.com/users/flashspys/events{/privacy}","received_events_url":"https://api.github.com/users/flashspys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-07T20:02:08Z","updated_at":"2015-10-09T17:01:29Z","closed_at":null,"body":"Swifter does not start its server in a [UIBackgroundTask](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/#//apple_ref/occ/instm/UIApplication/beginBackgroundTaskWithName:expirationHandler:)\r\nThat is the reason why the Swifter Demo App does **not** work on a real iOS Device but in iOS Simulator. It's very important to start the server in a Background Task. Otherwise the app wont answer for Example to the request when you access your webpage from MobileSafari!\r\n"},"comment":{"url":"https://api.github.com/repos/glock45/swifter/issues/comments/146932260","html_url":"https://github.com/glock45/swifter/issues/42#issuecomment-146932260","issue_url":"https://api.github.com/repos/glock45/swifter/issues/42","id":146932260,"user":{"login":"tristaaan","id":5470619,"avatar_url":"https://avatars.githubusercontent.com/u/5470619?v=3","gravatar_id":"","url":"https://api.github.com/users/tristaaan","html_url":"https://github.com/tristaaan","followers_url":"https://api.github.com/users/tristaaan/followers","following_url":"https://api.github.com/users/tristaaan/following{/other_user}","gists_url":"https://api.github.com/users/tristaaan/gists{/gist_id}","starred_url":"https://api.github.com/users/tristaaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristaaan/subscriptions","organizations_url":"https://api.github.com/users/tristaaan/orgs","repos_url":"https://api.github.com/users/tristaaan/repos","events_url":"https://api.github.com/users/tristaaan/events{/privacy}","received_events_url":"https://api.github.com/users/tristaaan/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T17:01:29Z","updated_at":"2015-10-09T17:01:29Z","body":"If you'd like to try the application I mentioned [App Store link](https://itunes.apple.com/us/app/arctic-viewer/id1038452328?mt=8) 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."}}