Background GPS in iOS mobile safari [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I know it is possible to have an iOS app running in the background which transmits GPS data periodically.
I was wondering if the same is possible if a user is on a webpage in mobile safari. Can watchPosition be used even if the user is not actively on the webpage but the tab is open in mobile safari (i.e. in the background)?

Yes, it is possible, but you app would have to be running in the background for it to work. You would use the same Location Awareness API that Apple provides and run it in the background, so that even when your app closes, it is still running.
You can see the answer given for this question for this question.
By using the instructions laid out by Apple, you can achieve this, but your app has to be run for it to work. So if they never start your app, no location tracking.

Related

How to clear app data in latest iOS (16.2) like clear app data in android while developing and testing iOS application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 days ago.
Improve this question
Offload App option only removes data and documents but I need the exact opposite for testing and developing iOS apps.
Removing temporary app data:
Some apps on iOS allow you to clear cache from the settings apps itself by click of a button. But to make this come into effect, the particular app needs to be launched at least once in order to clear its cache.
Open the ‘Settings’ app on your iPhone
Scroll through the Settings and find the app you want to clear the cache of
Select the app and once again scroll to the bottom of the page
Now here you’ll find a toggle named ‘Clear temp data on next start’
Turn it on and launch that particular app from the homescreen to get rid of its cache
enter image description here

How to Kill application running on background while using other application on button click in iOS swift [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
My application launches the Google Maps App for tracking. But when the Google Maps app completes its tracking. I used the push notification on which the user tap and it get back its own application. But the Google Maps app goes to background and it remains in background unless we forcefully kill the application.
So I want when the user get back its application, the Google Maps Application should kill and will not remains on background.
You can't kill other apps. Full stop. Apple would never allow that. Their app sandbox prevents you from affecting other processes on the device.
(On a jailbroken device you probably could.)

How to handle events when application gets killed in IOS? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Is there any way to handle the ios application when it is killed or any way to open my app programatically in ios 9.
No.
When your app is killed, that is equivalent to being force quit. There is no signal or notification.
There is no way to cause the system to open your app automatically because that would be a security risk as well as being really annoying to the user.
You can use push notifications and/or extensions to make your app's presence known more to the user.

Can I code an app that share a music stream on Iphone ( using the phone as a router ) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm an novice apple developper, actually working on Ios project for iOS 9 on xcode. I'm working as a freelance for a client, and this client needs an app to stream music.
This app must be capable to share music, it means :
A user has a music on his phone and turn on the "share mode", wich enable other users around him to connect to his iPhone and listen to the same music.
So my question is, can i do that in therms of code ? (turn on router on my iphone, allows connections from other phone ( even if its not an iphone ) and then send the music ( the music stream ).
It may be a too much technical question for this community, but i don't know in wihch stack community post it.
Thanks for any anwer.
Yes you can. I'd recommend checking out the Multipeer Connectivity framework from apple. You can do exactly what you're asking about. The link below talks about your exact scenario - in objective-c, but it works the same way in swift.
https://robots.thoughtbot.com/streaming-audio-to-multiple-listeners-via-ios-multipeer-connectivity

What frameworks can be used to create mobile web apps that are indistinguishable from native iOS apps [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'd like to know which framework you use to create mobile web applications that are - from a user's point of view - virtually indistinguishable from a native iOS app. Please provide a link do an actual application that has been built with said framework.
I mean more than just the look of a navigation bar and a back button, but an app that also feels like a native app, with the same smooth scrolling and transition animations of native apps.
To clarify: This is research in connection with this article: http://www.springenwerk.com/2011/09/thoughts-on-mobile-ui-design.html
The Financial Times app is indistinguishable. That said, I think they discontinued the App store app.
http://apps.ft.com/ftwebapp/
You don't even see the safari browser bar in the web app. I don't know how that works though. Not a web - dev.

Resources