2,100 questions
0
votes
1
answer
179
views
iOS 26, UISplitViewController remove glass effect from the sidebar
I am having a UISplitViewController with style doubleColumn.
Although the documentation said that setting primaryBackgroundStyle to none will allow you to control the background appearance of the ...
0
votes
2
answers
748
views
iOS 26. The problem with displaying the UISplitViewController
In iOS 26, the UISplitViewController primary or detail ViewController is displayed in modal mode, which is not correct. How to remove it?
Code for my UISplitViewController subclass:
override func ...
0
votes
0
answers
132
views
UISplitViewController (.tripleColumn) – Hiding Supplementary Column Causes UI Issues and Inconsistent Toggle Button Behavior
I'm using UISplitViewController with .tripleColumn style.
In some screens, I want to show all three columns:
.primary
.supplementary
.secondary
In other screens, I only want to show two columns:
....
1
vote
0
answers
49
views
Why does UISplitViewController extend the safe area from its primary view's navigation bar to its other views?
I have an iOS app that uses UISplitViewController as its root view controller. The "primary" view of the split view controller (the narrower one on the left) is a navigation controller. ...
-1
votes
2
answers
122
views
Crash UIViewControllerHierarchyInconsistency adding a root view controller UISplitViewController as a child of view controller UISplitViewController
App seems to be crashing in UIKit when it is running on iPad.
Has anyone experienced this crash. Here is crash report. Not able to reproduce consistently.
adding a root view controller <...
-1
votes
1
answer
122
views
Reliably knowing when UISplitViewController shows the primary view
I have an app which supports both iPhone and iPad, and it uses an embedded UISplitViewController.
I'd like to manually control the sidebar visibility, so I have added a button to toggle it on/off. ...
1
vote
1
answer
56
views
UISplitViewController's detailViewController is nil when overrideUserInterfaceStyle is set to .dark
I have a UISplitViewController with two UINavigationControllers as primary and detail view controllers, created using Storyboard. The primary has a static UITableViewController and clicking on a row ...
0
votes
0
answers
37
views
UISplitViewController - rightBarButtonItem on the primary view controller does not work
I have an IpadCoordinator defined as:
class IpadLayoutCoordinator: BaseCoordinator {
private let rootViewController: UINavigationController
private lazy var splitVC: UISplitViewController = {...
-1
votes
1
answer
59
views
inputAccessoryView getting hidden on UISearchBar activation in UISplitViewController
I'm facing an issue - when UISearchBar is activated then inputAccessoryView gets hidden and doesn't show up even after de-activation of UISearchBar searching in iPad.
Video
Steps to the issue
Start ...
-1
votes
1
answer
87
views
iOS does an unwanted pop of the navigation controller when the phone rotates
This is an issue that affects the iPhone 11 and the iPhone Xr on both the simulator and on physical devices.
I also tested with the X, XS, 11Pro, 12, 13Pro and 14Pro (some on real devices, some on ...
0
votes
1
answer
89
views
View's layout is not entirely in the range of the primary view area
When view is selected, the view's layout is not entirely in the range of the primary view area. How could this be possible?!
How can I make the view entirely fit in the primary view area?
The left ...
2
votes
0
answers
228
views
Swift / React Native How to know split view / slide over app's position relative to the whole screen?
I'm making a react-native based app, and I can partially use Swift code by react-native's NativeModule feature.
My app will be used as Split view / Slide over mode in iPad, and I want to know if my ...
1
vote
0
answers
76
views
Drawing issues using SwiftUI view as a PrimaryView in uisplitviewcontroller
I am trying to use SwiftUI View as a primary view in a UISplitViewController.
I have setup and added my PrimaryViewController to the NavigationController in my SplitviewController, in Storyboard.
...
0
votes
1
answer
204
views
How to preserve split view divider configuration in Mac Catalyst app?
Mac apps that have a sidebar (Mail, Finder, etc) allow you to resize its width, and that width is preserved across app launches. You enable this behavior in an AppKit app by assigning autosaveName on ...
2
votes
1
answer
3k
views
Is there any way to make NavigationSplitView's side bar with clear background?
I am trying to make side bar in NavigationSplitView with clear background for side bar, so that detail view is visible under sidebar when it is open.In UIKit it is possible to make, when iPhone in ...
1
vote
1
answer
153
views
UISplitViewController, incorrect frame origin in the master column (sidebar)
The problem happens only with the iPad with the master column having a negative origin.
Create UISplitViewController with Master and Detail view controllers.
Use UITableViewController or regular ...
1
vote
0
answers
40
views
UISplitViewController - Bottom Grey Bar
I know this is a big debated topic, but I couldn't find a successful answer to my problem. Since I've tried most of all of the solutions people posted.
I have a TabBar, that as a button "Account&...
3
votes
0
answers
61
views
How To Always Hide UISplitViewController Details View Controller
Is there anyway to hide the details view controller of a UISplitviewController in all circumstances? I have this requirement where the details VC needs to be hidden (or absent) at first and then slide ...
1
vote
0
answers
90
views
How to change navigation back button color from button tap
I use a UISplitViewController and I change the back button color whenever showing the detail view through:
/* In ParentVC */
let backButton = UIBarButtonItem(title: "", style: .plain, ...
0
votes
1
answer
61
views
Making existing UIViewControllers in Storyboard as master & detail
I have two UIViewControllers already designed in XCode Storyboard file. All I need to do is create a UISplitViewController and make one of them master and other detail. I can't find a way to do that ...
0
votes
1
answer
880
views
How to detect when user toggles sidebar hidden in split view controller to preserve secondary only display mode?
I’m using UISplitViewController to create a sidebar for my app - its style is .doubleColumn and I leave the preferredDisplayMode set to its default automatic behavior. It appears like the Photos app ...
0
votes
1
answer
549
views
Hide the DetailsViewController of splitViewController in iOS
I have master view and some DetialsViewController.
When I present the detailsViewController I use this code:
mainStoryboard = UIStoryboard(name: "StoryboardiPad", bundle: nil)
...
2
votes
0
answers
267
views
UISplitViewController on tvOS - compact mode
I'm trying to create a UIKit tvOS application using a UISplitViewController - ideally I would to have the primary pane overlay the child (details) and would like it to collapse to a compact mode when ...
3
votes
1
answer
947
views
UISplitViewController - replace back-chevron icon with a sidebar toggle icon in portrait
I'm working on an iPadOS app in which I use UISplitViewController. So far I have been using old APIs and handling everything (including the displayModeButtonItem) manually. Now I wanted to migrate to ...
1
vote
0
answers
62
views
UITabBarController as master of SplitViewController causes view cutoff issue
I am using the latest Xcode version 13.1, also tried in Xcode 12. I am trying to add UITabBarController as a master view of UISplitViewController using just a storyboard (no code involved) as shown in ...
4
votes
2
answers
248
views
UISplitViewController wrong value for the frame of PrimaryViewController view
I have a UISplitViewController with 2 custom viewControllers. When I go to setup the primary view controller and want to get the frame of the view, it gives me a totally odd value and when using it to ...
-1
votes
1
answer
197
views
Compiling and running my tvOS project with the new Xcode13+, the tab bar scrolls with the scrollView and I can't access the split view controller
When I compile and run my tvOS project with the new Xcode13+, the tab bar scrolls with the scrollView, and I can't access the split view controller moving the focus.
The issue doesn't happen with ...
0
votes
1
answer
203
views
UISplitViewController not loading its child when launched in compact size
I have a problem when launching the app in SplitScreen when the app has compact traits, the UISplitViewController is not loading its children unless dragged into regular trait. The view hierarchy is ...
0
votes
0
answers
413
views
SwiftUI Grid view is broken in split view
I would look to show 2 column grid in all devices, while it works as expected in all devices and orientation except when ipad have split view it is broken.
Expected result
Actual result
Below is the ...
1
vote
1
answer
109
views
Set BackgroundColor of Second View and Supplementary View of UISplitViewController
As you can see, in a 3 lines SplitViewController, on the top, there are while space that are not match the background color.
Any way to set them the same as the blue background?
The red background ...
0
votes
1
answer
791
views
How can i set master/detail view side by side in portrait mode using uisplitviewcontroller
I am using the new UISplitViewController, coming with iOS 14 as follows:
let splitViewController = UISplitViewController(style: .doubleColumn)
splitViewController.preferredDisplayMode = ....
2
votes
1
answer
679
views
UIKit: How can i resize a Viewcontroller to fit splitview primary column?
In my UIKit App i am using a UISplitViewController() as my rootViewController. I configure it in my SceneDelegate like this:
var splitView: UISplitViewController?
func scene(_ scene: UIScene, ...
1
vote
0
answers
176
views
UINavigationItem.LargeTitleDisplayMode.never still shows background for large title when wrapped in UISplitViewController
The new iOS 15 navigation bars are translucent when scrolled to the top by default. Because I am showing a UIMapView, I don't want this behaviour for this particular ViewController, while keeping this ...
1
vote
0
answers
116
views
UISplitViewController's master rootViewController view too wide
On Xcode's Interface Builder, if I add a UISplitViewController to my storyboard, the width of the view of the rootViewController for the splitViewController's master is larger than the area assigned ...
1
vote
1
answer
308
views
UISplitViewController - doubleColumn Style not working
In my app, i am using a UISplitViewController like this:
let splitViewController = UISplitViewController()
splitViewController.preferredDisplayMode = .oneBesideSecondary
splitViewController....
1
vote
2
answers
630
views
Cannot place UISplitViewController inside UITabBarController
I've read all the other responses to this, and they all seems really old and don't seem to work.
I'm trying to create an application with a UITabBar, and have on of those tabs be a ...
0
votes
1
answer
299
views
Generic function to pop or dismiss ViewController in iOS & iPadOS just like show() & showDetail()
Just like we have show(_ vc: UIViewController, sender: Any?) & showDetailViewController(_ vc: UIViewController, sender: Any?) to push & present ViewControllers irrespective of the case whether ...
0
votes
1
answer
210
views
UISplitViewController not "dismissing" master view controller in all situations
I have an application that uses a UISplitViewController as its window's root view controller. The app used what was the Master-Detail Xcode template when it was made. The master VC is a ...
1
vote
0
answers
35
views
Presenting Modally from SplitViewController Creates Unintentional Nav Controller
I present a ViewController from a segue on a DetailViewController. The user taps a button, and the intended ViewController "slides up" via a modal. When I call self.dismiss(animated: true, ...
0
votes
0
answers
184
views
SplitViewController - Avoid Backing Through Multiple ViewControllers
I'm using a single storyboard for a SplitViewController on both iPhone and iPad. The user should be able to select the intended content from the column TableView, see a preview of it on the Detail ...
0
votes
1
answer
1k
views
Split view controller navigation bar question
Background:
I have a UISplitViewController showing a UITabBarController as its detail view (.secondary). The UITabBarController shows a UIViewController embedded in a UINavigationController.
The plot ...
4
votes
2
answers
2k
views
Swift UISplitViewController how to go from triple to double columns
I'm having a lot of trouble figuring out how to structure a UISplitViewController.
I want:
A sidebar in the primary view (always)
I want the 1st sidebar navigation item (animals) to show triple (...
6
votes
4
answers
537
views
Swift - UIButton is not pinning to the bottom of the screen
I am having trouble pinning the UIButton to the bottom of my UIViewController, (There is a tab bar if that helps).
Here are the constraints of the UIButton.
Originally, it all worked fine, but ever ...
0
votes
0
answers
66
views
How to Modify an Existing iOS App to Support Split View
I have an existing iOS app with a Navigation Controller (root view) that is set up as the initial view controller. In the storyboard, it has a Relationship "root view controller" to "my ...
1
vote
2
answers
224
views
Substring from a String in SQL Server after a symbol to the end of the field if the symbol exists
I've queried the Catalog in the ReportServer database to get the list of folders that exist in the report server. So I have results that look like this:
[Path]
/Admin
/Compliance/Self Serve/Dublin
/...
0
votes
0
answers
115
views
How to achieve SplitView Functionality in Portrait mode in iOS?
I'm trying to implement SplitView functionality in my iOS application, it's working fine only in landscape mode in iPad devices.
If I launch or rotate the application from landscape to portrait mode ...
1
vote
0
answers
77
views
UISplitViewController Master / Details are showing in the same pane
I am trying to set up a split view controller on my app. It is handled in the storyboard, and the problem is the master and detail show in the same pane, and overlap each other. The detail never shows ...
1
vote
1
answer
143
views
SwiftUI NavigationView Secondary not showing
Using Xcode 12.4 running on the simulator using iOS 14.4
Running the following code:
struct ContentView: View {
var body: some View {
NavigationView {
Text("some View"...
1
vote
1
answer
147
views
SplitViewController always shows DetailViewController on startup
I have a splitViewController setup on Storyboard. Its setup as Master on MasterViewController() and on DetailController on DetailViewController(). Whenever the app launches I always get the ...
3
votes
1
answer
497
views
primary column width in new splitviewcontroller (iOS 14)
How does one change the width of the primary column in new splitviewcontroller (iOS 14)? I'm using preferredPrimaryColumnWidthFraction = 0.5 and it doesn't have any effect. My svc has style = ...