Adding settings to your iOS app

Abhimuralidharan
6 min readMar 29, 2017

Source: Apple docs.

I will tell you the reason why I am creating this article. Normally all my apps used to have login and logout option. So , to reset the app data I just had to click on logout button and it will call a routine function which will clear all the database data and userdefaults data. But, in one of the apps that I have made recently, I wanted to reset the app data once in a while. But the saddest part is that it didn’t had a login/logout option. Also, I didn’t want to add any button from inside the app to clear the data. This app had facebook and google…

--

--