soundscape icon indicating copy to clipboard operation
soundscape copied to clipboard

Updated and created a new settings page with IOS like dropdown menus

Open MBtheOtaku opened this issue 1 year ago • 2 comments

MBtheOtaku avatar Nov 05 '24 19:11 MBtheOtaku

Hi. I just tested this on my phone. It isn't really working well with Voiceover unfortunately. I mean it does work but is a bit confusing. VO reports General as a heading and you have to tap on it to expand it.

I'm not really sure what the original issue was about exactly, but this doesn't feel like the iOS settings app, at least with Voiceover.

I also got the following from the debugger when collapsing the general section:

Thread 1: "Invalid batch updates detected: the number of sections and/or rows returned by the data source before and after performing the batch updates are inconsistent with the updates.\nData source before updates = { 7 sections with row counts: [6, 0, 0, 1, 0, 0, 0] }\nData source after updates = { 7 sections with row counts: [6, 0, 0, 0, 0, 0, 0] }\nUpdates = [\n\tDelete section 0,\n\tInsert section 0\n]\nTable view: <UITableView: 0x10af19c00; frame = (0 91; 390 753); clipsToBounds = YES; autoresize = W+H; tintColor = <UIDynamicCatalogColor: 0x3037a0aa0; name = Foreground 1>; gestureRecognizers = <NSArray: 0x301bcc630>; backgroundColor = <UIDynamicCatalogColor: 0x30372afd0; name = Background Base>; layer = <CALayer: 0x30122c4c0>; contentOffset: {0, 0}; contentSize: {390, 818.33333333333326}; adjustedContentInset: {0, 0, 34, 0}; dataSource: <Soundscape.SettingsViewController: 0x114ab4a00>>"

RDMurray avatar Nov 13 '24 16:11 RDMurray

Hi, I made some changes to the settings page, I included the audio beacon section that ryan worked on before. Additionally it seems that if we want to have each section open up to a new page, it would require making separate controllers for each expanded section underneath the general one. I did manage to get callouts to open to a new page but I would like someone to look into if it works completely. As for the thread error, I have been looking diligently into it but am not quite sure how to fix it as it only happens every now and then and when it does pop up it is inconsistent with what action causes it, such expanding a section or closing a section or opening too many sections or navigating too fast.

MBtheOtaku avatar Dec 03 '24 21:12 MBtheOtaku