Questions tagged [ipados]

iPadOS is the operating system running on the Apple iPad. Use this tag only for questions specific to iPad OS. Use the [ios] tag in most cases. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.

iPadOS is the iOS-based operating system for iPad devices, created and developed by Apple. It was introduced on June 3, 2019.

Latest version: 13.2.3 released on November 18, 2019.

286 questions
2
votes
0 answers

Has anyone been able to override/block the new iPadOS 15 behavior of rotating iPhone apps in landscape?

The new behavior Ideally we'd have native iPad support, but that's a ways off and not feasible at the moment. So for now we have to work with iPad running the iPhone app. Hybrid Swift and Objective-C using UIKit, for context. The app I'm working on…
zattacks
  • 21
  • 1
2
votes
2 answers

How to determine if a popover will be displayed as a popover or sheet in SwiftUI?

In SwiftUI when a popover is displayed, it will display as either a popover or sheet depending on the device (iPad or iPhone) and window space available. Is there a correct heuristic to check if the popover will be displayed as a popover or a…
pinglock
  • 982
  • 2
  • 12
  • 30
2
votes
0 answers

iOS 15 WKWebView Displaying Incorrect Image

My app generates a PDF using WKWebView, based on an HTML template and local files. The user creates 2 drawings, and the PDF will show both drawings. This app has been working for years on all iOS versions, but now on iOS 15 it is showing the 2nd…
IMSsam
  • 43
  • 1
  • 6
2
votes
1 answer

ActionSheet crashes on iPad, not on iPhone

The below code is found on examples in several places and used to work for me, but now it crashes. The problem seems to be on iPadOS since it seems to work on iPhones, both simulators and physical devices. The error…
Russ
  • 467
  • 3
  • 10
2
votes
1 answer

App Icon Switcher does not work on iPad, only the default icon - Swift?

I am integrating a app icon switcher to one of my apps. It works fine on iOS, but when I run on iPadOS only the default icon works for the other icon -> File not found. Assets: icon@2x.png (120px) icon@3x.png (180px) class IconManager { let…
DKoenig82
  • 47
  • 5
2
votes
2 answers

SwiftUI - How to change the color of a custom SF symbol in a Text View?

So, I have a Text in a SwiftUI view that has a custom SF symbol in it: Text("This is some text with a \(Image(uiImage: UIImage(named: "customSFSymbol")!)) symbol.") The problem is the following: I want to make all that view white, but when I add…
LeonardoXUI
  • 411
  • 3
  • 10
2
votes
2 answers

Why does my configurable widget on editing say "No options provided for this parameter"?

I made a configurable widget with an intents definition file, intent handler class (with code to provide dummy test data), and created a custom type for a parameter for it. I checked "options are provided dynamically". When I edited the widget on…
Matt
  • 560
  • 1
  • 5
  • 12
2
votes
0 answers

How to change Number of Columns of SwiftUI NavigationView depending on Selected SideBar Item?

I am currently working with the SwiftUI NavigationView on the iPad. Problem: Obviously iPadOS supports 2 or 3 columns NavigationViews. However, I have to declare the number of Columns when initializing the NavigationView without any chance of…
christophriepe
  • 1,157
  • 12
  • 47
2
votes
0 answers

Have multiple columns in a SwiftUI Form

I am looking to have multiple columns within a SwiftUI form section. I have seen other potential fixes and using .onTapGesture, but that seem's very 'hacky' and doesn't provide the same aesthetics a form normally does on the iPad. In my code I have…
benpomeroy9
  • 375
  • 5
  • 21
2
votes
0 answers

SwiftUI Can't Change the Master Pane Width iPad Landscape

I have a SwiftUI app in full SwiftUI lifecycle that includes a basic Master/Detail style of data presentation. For the iPad, I need a wider left (Master) pane and don't need the Detail pane to be as wide as the default. Apparently I'm not phrasing…
JohnSF
  • 3,736
  • 3
  • 36
  • 72
2
votes
1 answer

Secondary click not working with iPadOS ported with MacCatalyst

I'm trying to bring an iPadOS app to macOS with catalyst. The app supports pointer (mouse/trackpad) interactions released with iPadOS 13.4. There are gestures in the app that work via secondary pointer click, but in the catalyst version they don't…
vicissim
  • 21
  • 1
2
votes
2 answers

iPadOS 14 Apple Pencil fast tapping not working. - HTML JavaScript ontouchstart/onpointerdown

I have a html/js/canvas drawing app, and after updating to iPadOS 14, I can no longer fast tap with the Apple Pencil. If I use a mouse or my finger with this code the events fire fast and toggle every time. When I use the Apple Pencil, the…
The Way
  • 594
  • 5
  • 15
2
votes
1 answer

SwiftUI TabView seems to not respect @SceneStorage

I have an app that switches between TabView and Sidebar view depending on its sizeClass. The applicable code is below: struct PoshBoardTabView : View { @Environment(\.horizontalSizeClass) var sizeClass @SceneStorage("lastTab") var lastTab:…
Ferdinand Rios
  • 972
  • 6
  • 18
2
votes
1 answer

GCMouse.mice() is always empty, despite my mouse working

I am using the new GCMouse.mice() API on iPadOS 14. My Bluetooth mouse (Logitech MX Master 2S) is clearly recognized, and I can navigate the OS and even my app with it. If I go to Settings → Accessibility → AssistiveTouch → Devices, my mouse is…
Lynn
  • 10,425
  • 43
  • 75
2
votes
2 answers

iPad: White text on one side of the status bar, black text on the other

The Home app on iPadOS 14 displays black text on the left side of the status bar, and white text on the right side. How is this achieved? Can it be done via public APIs?
kettlepot
  • 10,574
  • 28
  • 71
  • 100