How to set a password for application in iOS [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 am developing an application in iOS where I want to provide a password option..where user can enter a password and set it,and later when he opens the app,it should first ask for password to enter,
So can we implement this?
Any ideas ,suggestions are welcomed.....
Regards
Ranjit

Maybe save the password in the NSUserDefaults and request that password if one is set...
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSUserDefaults_Class/Reference/Reference.html

Save the password to the keychain. Don't store it anywhere else, if you care about security. You could use SFHFKeychainUtils to do this easily.

Related

knowing the bundle id of another app, may enable to hack the keychain access? [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 3 years ago.
Improve this question
I was really thinking is it possible that if a hacker gets bundle id of my app, the hacker can get access to key-chain of the my app ?
asak, bundle id are unique and hence it cannot be re-used.
I'm not sharing the keychain. If hacker somehow knows the bundle ID of my app, will hacker be able to access my app's keychain ?
thanks
No. You have to allow it specifically for which apps are you sharing the keychain.
https://developer.apple.com/documentation/security/keychain_services/keychain_items/sharing_access_to_keychain_items_among_a_collection_of_apps

How to get user default email address 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 7 years ago.
Improve this question
Is there any way by which i can get current users email address of ios device.
i need all the default email address or email address of associated google account.
You can not get the email address configured in the Mail app since it's considered breach of privacy.
You can however use the MFMailComposeViewController which will prompt the user to send email using their email address.

Is is possible to make a specific http call using cellular while you are connected to wifi on 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 9 years ago.
Improve this question
I am developing an application for an operator. They want to get the msisdn of the user by making an http call using cellular connection. Can this also be done while you are connected to wifi. Thanks.
No, as an developer you can not choose the connection used to make HTTP calls.
I've been developers an App for an operator for 3 years now and would also like this option, but Apple has not released any API for this.

Apple In App Purchase - Buying customized content [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 9 years ago.
Improve this question
I have an application in which I want to offer the ability to pay for answers to questions in digital format. I.e, the user would submit a question, and purchase an answer which I would construct and send back to the app. Is this allowed?
I'm not sure if purchasing answers to unknown questions directly would be allowed or not, but I'm sure you could simply sell 'credits' that would give x number of requests.
Yes, this is allowed. See section 11 of the App Review Guidelines for iOS, found here, login required.

Delete or cancel app only with iTunes id [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 8 years ago.
Improve this question
Can i create app that the user can't delete without iTunes id or password?
Can i create app that the user can't cancel to background with home button without iTunes id or password?
Thanks in advance
No and No. The philosophy is that the user should always feel in control of their apps. You can only prevent app deletion on a device-by-device basis (using the device settings).

Resources