![]() This means I will also be able to add other menu options that could help me collect data, like the entire SQLite store if need be.īy adding a toggle in the app Settings (the ones inside the device Settings, not the in-app Settings), where (almost) no one ever goes looking. So I wanted to have a way to reveal this menu manually, and this is where Settings.bundle comes in. you can't access it willingly: I added a "Data integrity" section that is not directly related to CloudKit's connectivity status and I want to be able to access it.it can be disturbing or anxiety-inducing: sometimes the menu will appear for a split second during the course of a normal event, and if you don't know what this is about it can be troubling.Until now, this menu appeared automatically based on the connectivity status (which I get from CloudKitSyncMonitor). My personal rule is that any menu item that users are unlikely to need shouldn't appear in the in-app Settings.įor instance, my app has a hidden "iCloud Sync" menu option in its Settings to help identify potential iCloud sync issues. And by offering too many options, you're creating a burden for your users: they have to understand what these options are for, figure out if/when they need them and learn how to use them.Įven as a tech-savvy user, I don't want to be bothered with too many options inside the app itself if it's not part of the experience. Our job as software developers is to solve problems, not create new ones. I get it, you love tweaking everything, and your app should let users gut it open and dissect everything.īut for the average user, anything technical can create confusion and complexity. Fight your inner geekīefore diving into the instructions, here are some personal insights explaining why I needed this. Technical stuff shouldn't surface in your app, but it can be useful at times: let's see how we can enable a "Diagnostic Mode" or a "Developer" menu in your app using Settings.bundle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |