Access to iOS Messages via Swift - ios

Does apple gives access to iOS Messages using swift? If it does are we allowed to delete messages? I searched this and all answers i found is 5 years ago.

Nothing has changed in the last 5 years - the answer is still No.

Related

Is there a method that gets called on app uninstallation? [duplicate]

This question already has answers here:
Detect iOS application about to delete?
(3 answers)
Closed 4 years ago.
I have a very specific need to handle some cases if my iOS app gets uninstalled. But I cannot find any method so far that gets called in case the app gets uninstalled. I have searched around with similar questions but cannot find anything usefull. Can anyone suggest something please.
No, its not possible.
But you can check if the application has re-installed by storing a key in iCloud using keychain.

Unique way of identifing an iphone [duplicate]

This question already has answers here:
Unique Identification of iOS device for iOS 7.0 and above
(6 answers)
Closed 4 years ago.
I'm working on an app that has a code authentication, in order to do that I have to know what device has activated the code. Is there a unique ID or something like that, that does not change even if the app gets reinstalled?
You can use the identifierforvendor for this
UIDevice.current.identifierForVendor!.uuidString

Custom Vibrations in iOS7 [duplicate]

This question already has answers here:
Are there APIs for custom vibrations in iOS?
(2 answers)
Closed 8 years ago.
I've been looking around the web trying to see if anyone has been able to do custom vibration timing. I found information on iOS5 but it was only doable with non app store approved methods.
Is there any API's in iOS7 that will let me do this?
There are no new iOS 7 APIs for this. The private APIs you mentioned remain the only option.

how to add and delete note in an iphone notes application [duplicate]

This question already has an answer here:
How to create notes in iPhone notes app programmatically
(1 answer)
Closed 9 years ago.
Is it possible to add or modify notes in iPhone notes application.. If any of you have any Idea regarding this means please share with me that will be very helpful for me. Thanks in advance..
No, this is not possible. Apple does not provide any API to interact with the notes app.

Is it possible to get iphone's phone number programmatically in 2011? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Programmatically get own phone number in iPhone OS
Is it still impossible to get user's phonenumber in iOS and have your app accepted to appStore like they say in this thread: Programmatically get own phone number in iOS ?
I hope that something's changed since then.
What are the good alternatives?
No is not possible to get phone number by code.
but you can always ask the user their phone number using a model window..
Still not possible. For good reasons.

Resources