Get data from all app's notification in IOS - swift

I would like to develop an IOS app to get notification such as title and body from all applications in iPhone. Is it possible to do that?

No it is not. On Android, yes this is possible. But not on Apple. They restrict permissions so that you cannot access that information as a developer.

Every application is given a sandbox, a directory it can use to store data in. If the application needs access to data on the device that isn't located in the application's sandbox, it needs to request the data through a system interface.
App can only read their notifications, other things are possible with Jailbreak.
Learn about app sandbox here

Related

Itune Application sharing blocking

IOS paid application sharing we need to block.
Planning to submit paid application in Apple store. Suppose a user brought application and download to Itunes account, then i sync to my mobile device, able to use that.
1.From itunes can we share application ipa to any other user?
2.is there any way to identify which apple id used for downloading?
3.any option for blocking user without downloading from apple store?
Apps bought/downloaded from the app store are linked to the account that download the app. You can there for not just share the IPA.
On a jailbroke device you might be able to remove the security measures that restrict this. But what you are proposing is not possible with official App Store apps.
You cant code to UDID anymore since the update to the iTunes ToS. They are all account bound. In the cases I have tried to share the .ipa file the app data inside that app specific to me did not migrate to the new user

Accessing iOS6 text message database

I'm currently building an iPhone app where the user selects recent text message threads, and chooses which ones to upload to a specific website.
Is it possible to write an app which accesses the users text message database? I heard that Apple is very strict about accessing SMS.
No you cannot acces the SMS message database when using the official SDK.
All apps on iOS are sandboxed and can access files outside of this sandbox, meaning you cannot access any data which is contained in other apps there sandbox. This is also why there is not file browser on iOS.

Interface to the AppStore?

I have a requirement that a client wants to be able to allow users to download apps from within an app (which I will call the main app), based on a user's score (when a user achieves a certain score, they can have an app). We would like to do this without linking to the app store directly, so that users of the main app can be granted access to another app.
So, is there a way to interface to the app store while hiding the official app store from the user? I have seen similar functionality in Passbook, but not exactly what we are looking for. Any ideas? Thanks! Viv
Possible duplicate
How to link to apps on the app store
If your app is in Apple appstore, you can use itms:// service to install apps directly. Check the above link that tells awesome stuff about the apple app store itms services.

Can i access iOS mail app data?

Is there a way using which i can access attachments downloaded though the iOS Mail app? I need to access photos or other documents in my app.
No You cannot access the Mail App Data in any way. It is against the Privacy concerns of the iOS device user. However, the images in the user's iPhone Gallery can be accessed and used in the app according to your needs.
If you register your app to handle various file types, then you could select open with yourapp from within the mail application. So you could send a file from the mail application to your app. For more information see https://developer.apple.com/library/ios/#documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1
No, You are not authorized to take any device data without user interaction that too limited access. You can create your customized mailing data with you have sent mails.

How to change appstore application icon

Hi can any one suggest me it is possible or not and if possible then how?
The premise is that the user pays for the app via a website and they gets an access code to send to her guests via the website. The user downloads the free app from the iPhone store and enters the code. We're trying to figure out if we can enable each user to customize the app icon so it can appear with a different image or text on the user phone.
You can't. The application's icon (and the application's property list file) is in the application bundle, which cannot be modified.
This would also violate the iOS SDK Terms of Use and the iTunes Store Terms of Service; you cannot have a third-party receive payment to access a free iOS application.
You can customize the iOS icon of a web app clipping, and put the web site to be clipped behind your private paywall. Apple has been reported in the past to accept App store apps that generate URLs to customized clippable web apps. No idea if they currently or will continue to do so.
Icons on App store iOS apps for stock OS devices can only be changed by Apple approving an update.
Evan is right... This goes against so many terms of the iOS SDK.
One thing you could do (but I can't guarantee it will be accepted by Apple) is create a registration system on your website. Then have a login on the App as soon as it loads and check that the user has a valid account which has paid the subscription. You would have to handle all of your payment stuff on the webside though, meaning the app would be useless unless the user has already sorted that out. If you do this, on submission of your app make sure you provide Apple with a demo account username and password!
As for the icon, you can't change it once the App is submitted. It is bundled in with your app binary and there is also a logo included in iTunes connect. You can change them, but only by submitting a new binary.