I want to store username and password for my app in a similar way iOS mail app does. Its like go to setting and choose the mail setting and store the username and password. So when the iOS mail app is opened the user is automatically authenticated using the credentials given in the setting. Can anyone let me know how can I programmatically achieve this ?
Thanks in advance.