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 5 years ago.
The community reviewed whether to reopen this question 5 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I don't know about early versions of IOS, but iOS 11 has a feature:
How to create a persistent notification programmatically with swift in my IOS app? I didn't found any docs about it.
I also found this answer: Create a persistent notification in iOS but it was a long time ago, maybe the situation has changed ?
The feature you're describing is a local notification. See the docs here:
https://developer.apple.com/documentation/usernotifications
You cannot force notifications or their style on the user. That is what the Settings window in your screen shot is about. Only the user can decide whether your notification alert will appear as Temporary or Persistent. (The user can also decide to suppress your notifications completely.)
Related
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 last month.
This post was edited and submitted for review last month and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I am working on developing a swift app. How can I check whether a mobile is in silent mode? Is there any method to find that the phone is now silent or its volume is high? Please help me.
I searched but couldn't find any solution.
There is no Public API for check that.
There is Mute Lib that works with work around.
https://github.com/akramhussein/Mute
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.
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 7 years ago.
Improve this question
My app contains sound/audio files.
Are following is possible? if yes, how ? please give some sample code.
(1) set ringtone(default phone) ?
(2) alarm (default alarm) ?
(3) default notification ?
(4) contact tone ?
SET these things from my app (audio files in my project)
Thanks in advance.
Its not possible to do any OS level settings changes from any private application. You can not change alert/ringtone/notification sound.
Due to security concern, apple doesn't allow this thing in Apple device, there may be several API or libraries which can be used in Jailbroken Device, but you can not post your app with these private api.
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 8 years ago.
Improve this question
I made an app. Now I want to close an other app (not mine) - does anybody here know how that is going to work?
I don't want to publish the App in the App Store - so it is only for private purposes but I dont want to jailbreak my iPhone.
For security reason an app cannot control another one.
You cannot do it.
It's not possible - your app is contained within its own sandbox separate from other apps on the device.
For more information, you can read Secutiy Overview: Code Security in the iOS Developer Library.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
My iphone app rejected due to screen shot containing placeholder iAd banner. I loaded a new screen shot without the iAd banner and replied the message in resolution center. However, since it is only meta data change and doesn't require a new binary. The status is still reject. My question is how long will it take for apple to read my message and review it again. Anyone has experience like this? Thanks.
Usually they resume your review the next business day
had that experience just last week. They picked it up and carried on with the review in a little under 24 hours.