|
I'm struggling with the sidebar of a 3-column layout for iPad. The columns themselves are presenting properly: 1 | 2 | 3 = (Optional)Sidebar | List | Detail However, the navigation links in column 1 are showing up in column 2, rather than column 3. And in the process, they're making it impossible to get the list view that SHOULD be shown in column 2 back. I've also tried making the links in column 1 into modal views, but that has presented three problems: 1) some of the views are just too small to look good in the large sheets in for iPad 2) trying to implement some of the half/partial sheet options I've seen in various places (as a solution for problem 1) results in the sheets only appearing over column 1 and being cut off on the sides 3) sometimes there are navigation links in the views that should take me back to my main 3-column view and I can't figure out how to implement that properly. For example (Keep in mind I'm working on an app to curate Audiobook libraries): Let's say what's showing in column 2 is a list of book series. I tap one of those columns, and what shows up in column 3 is the detail view for that series. The detail view has a list of books in that series. I tap one of those, and the item shown in the detail view changes to that book. But if I want to create a new series, I have a link to do that in column 1, and a view for creating a new series. At the end of creating the series, I want to navigate to the series detail view. But if the series creator view is presented as a sheet, the series detail view appears in the sheet, not in the main navigation view, and the navigation links for the books in the series don't go anywhere (maybe because what is being shown in the series creation sheet view isn't a Navigation View?) I'm sorry I don't have any code to show for this. It's not really an issue I can demonstrate just by showing the code. So, yeah. I need a way to either present sheets from the links in Column 1 that will, once I'm finished with them, allow me to navigate back to my main, 3-column layout, or I need the navigation links from Column 1 to present their views in Column 3, rather than Column 2. |
|
Adding some code. This is about as simplified as I can make the code I'm working with.
I've tried absolutely everything I can think of, but no matter what I do with regards to the action of the The sidebar still works, so if I select |
SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.