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
1
vote
1 answer

iOS 16 Table sort by tableColumn where keyPath is a Bool

I am working with the new Table struct in SwiftUI made available to iOS in iOS 16. I have a simple model struct City: Identifiable { var name: String var country: String var population: Int var isCapital: Bool = false var id: String…
Stewart Lynch
  • 875
  • 9
  • 26
1
vote
0 answers

Content Security Policy hashes don't work on iPad Safari, but do on iOS Safari

We're using a Lit web component that has embedded styles. We generate hash values for the styles (through a PostCSS plugin that is part of our Webpack build) and add them to the HTTP response header in the Content Security Policy header. This…
SebastianR
  • 1,683
  • 2
  • 17
  • 33
1
vote
1 answer

How do I disable Core Animation compositor in my Metal iOS (iPadOS) App

I have 3 questions relating to something from Apple WWDC 2015, more precisely Session 610, "Metal performance optimisation techniques", slide 125 (or minute 33:56 in the video), to be found at…
Céline
  • 185
  • 7
1
vote
0 answers

How to detect the topmost window in new overlapping windows/Stage Manger on iPadOS 16

Does anyone have an idea, how to detect the topmost window in code of multi-window app running in new iPadOS 16 overlapping windows/Stage Manager environment?
Kuba
  • 21
  • 1
1
vote
1 answer

How to create an enum based .textStyle(.title) modifier for Text(...) components in SwiftUI?

I want to implement a modifier setting for Texts in a similar way as it already exists for Buttons. Aka: Button( ... ) .buttonStyle(.plain) // <-- .plain and not PlainStyle() Problem Of course I cannot use an opaque which is not really the same.…
Tobonaut
  • 2,245
  • 2
  • 26
  • 39
1
vote
0 answers

iPad Multitasking: dismiss the keyboard running in another app

Scenario Consider e.g. a default Calendar app that has some content displayed at the very bottom. Now let's run it in the multitasking mode, so that it looks like this: Problem And now let's open a keyboard in another app, e.g. Safari: The…
Richard Topchii
  • 7,075
  • 8
  • 48
  • 115
1
vote
0 answers

iOS/iPadOS - How can we access /dev/tty.iap (for in-house apps)?

I wrote an iPad app to control a proprietary "robot" (based on a 3d-printer). With respect to providing a GUI to the robot, the iPad (mini) is ideal in a way, since it avoids additional I/O devices like e.g. a mouse or a keyboard and obviously comes…
user2831473
  • 168
  • 2
  • 10
1
vote
2 answers

fopen() always return NULL on iOS device

File exists in iOS bundle directory. fopen() always return NULL on iOS device, but OK on iOS sumulator, codes as below: NSString *path = [NSBundle.mainBundle pathForResource:@"yuv420p_640x360" ofType:@"yuv"]; BOOL exists =…
Smeegol
  • 2,014
  • 4
  • 29
  • 44
1
vote
0 answers

How to keep a sidebar item selected when navigation link is triggered in the detail view on iPadOS with SwiftUI?

I'm asking your help today about a mystery behavior of the navigation link coupled with the sidebar on iPadOS. First, here is my sidebar code: NavigationView { List(1..<5) { _ in NavigationLink(destination: DetailView()) { …
Vinestro
  • 1,072
  • 1
  • 10
  • 32
1
vote
0 answers

Javascript Media Source Extensions not working on iPad

According to "caniuse.com", Media Source Extensions is fully supported in iPadOS 13 and later but I use Safari in Xcode iPad simulator to test, it shows the error var mediaSource = new MediaSource(); //ReferenceError: Can't find variable:…
SCK
  • 11
  • 2
1
vote
1 answer

iOS/iPadOS release version

I need to "release"(without uploading it to App Store) an app, but only for a single device. Can this be done without joining the Apple Developer Program? And without having the device connected or reconnected every fortnight.
NPovlsen
  • 337
  • 1
  • 16
1
vote
1 answer

I want to create a variable for every scene in SwiftUI

I am trying to implement the new Commands for iPadOS 15 and to do that you have to declare them in the App like the following example @main struct I_FeelApp: App { @State private var sceneCommands = GlobalCommands() var body: some Scene { …
Zapata
  • 21
  • 3
1
vote
0 answers

Does Microsoft Edge on iPad support push notifications?

I did some research regarding the question if you can somehow send push notifications from a website on an iPad. Now I'm asking myself, if this is just a Safari specific thing or a iOS/ iPadOS problem - I just can't find any specific information.
Leo
  • 11
  • 1
1
vote
0 answers

iOS Application keeps deadlocks in the field out of no where

I have a native B2B application distributed via an MDM to several locations across the US, the units are on 24/7 and are public terminals for people to use. The application is also locked into place with Guided Access. In the past few weeks we have…
Mark
  • 148
  • 3
  • 14
1
vote
1 answer

Get Coordinates of Moving Pointer in SwiftUI (iPadOS)

On the iPad, I'm trying to build a simple app that continuously tracks the pointer's coordinates as it moves across the screen (via external mouse/trackpad). Basically something like this JavaScript example @ 4:13 except in a SwiftUI view on the…