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
75
votes
16 answers

How can I check whether dark mode is enabled in iOS/iPadOS?

Starting from iOS/iPadOS 13, a dark user interface style is available, similar to the dark mode introduced in macOS Mojave. How can I check whether the user has enabled the system-wide dark mode?
Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
37
votes
5 answers

iOS/iPadOS safari push api support

Does the iOS/iPadOS version of safari support push api standard with service worker?
Niccolò Fanton
  • 552
  • 1
  • 5
  • 19
35
votes
5 answers

Tell iPadOS from macOS on the web

The user agent of Safari on iPadOS beta is at this point exactly the same as Safari on macOS. Is there any other way to tell an iPad from a Mac? iPad running iOS Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko)…
Jonny
  • 15,955
  • 18
  • 111
  • 232
28
votes
9 answers

How to detect iPad Pro as iPad using javascript?

We were able to detect an iPad device using javascript like this: function isDeviceiPad(){ return navigator.platform.match(/iPad/i); } That worked perfectly in detecting iPad devices, but when we checked from an iPad Pro (10.5 inch), it does…
Wonka
  • 8,244
  • 21
  • 73
  • 121
25
votes
1 answer

FIRAnalyticsConnector: building for Mac Catalyst, but linking in object file built for iOS Simulator

When trying to build for Mac using Catalyst, I get the following build error: FIRAnalyticsConnector(FIRConnectorUtils_77ff1e12be6740765c87f1be0d421683.o), building for Mac Catalyst, but linking in object file built for iOS Simulator The project…
RawMean
  • 8,374
  • 6
  • 55
  • 82
25
votes
3 answers

Distinguish between iPad and mac on iPad with iPadOs

In iOS 13 apple changed the user-agent that iPad uses. Instead of (for example) Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10 it become (for…
zvi
  • 3,677
  • 2
  • 30
  • 48
23
votes
1 answer

iPadOS: Network connected via NEHotspotConfiguration disconnects after a while

My app uses NEHotspotConfigurationManager to connect itself to a certain device using a Wi-Fi. The device acts as an WPA2 access point. In older iOS versions (iOS 12 and lower) everything worked fine, but in iPadOS/iOS 13 the device is being…
19
votes
3 answers

Error sending archive to App Store Connect

Yesterday, I updated to Xcode 13 via the App Store. I'm trying to send an archive of my app to App Store Connect through the usual way in the "Organizer" window, and once the archive is submitted, I get the warning message: App Store Connect…
fphelp
  • 1,544
  • 1
  • 15
  • 34
19
votes
1 answer

What is the "Development Assets" feature introduced in Xcode 11 and how to use it?

When I examined settings of a target in Xcode 11.1 (accessed when clicking on a project in the Project navigator sidebar and then clicking on an executable target), I noticed a new expandable section called "Development Assets", which wasn't present…
Max Desiatov
  • 5,087
  • 3
  • 48
  • 56
18
votes
2 answers

SwiftUI Sidebar doesn't remember state

I Have this app that uses the new sidebar introduced in iOS14 for iPad os but I can't figure out why it doesn't remember the state when its hidden This is the sidebar struct import SwiftUI struct Sidebar: View { …
Luca
  • 914
  • 9
  • 18
13
votes
2 answers

How to open Photo app from UIViewController?

I have some possible results for How to open Photo App from uiviewcontroller in button Action. It's like a Facebook authentication screen open, that means when user click uibutton, it will minimize the native app and open the photo app. Is this…
user1915959
  • 141
  • 1
  • 4
11
votes
0 answers

Initial position for PKToolPicker (PencilKit)?

How to setup PKToolPicker initial position? It always started at the bottom, and if there is a toolbar, cover up the toolbar. let toolPicker = PKToolPicker.shared(for: self.view.window!) toolPicker?.addObserver(canvas) toolPicker?.setVisible(true,…
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
11
votes
4 answers

How do I convert or load a UIImage into a PKDrawing?

I'd like to be able to load a PNG file into a PKCanvasView to be able to draw on and erase parts of it. Is there a way to accomplish this?
rawbee
  • 2,946
  • 3
  • 18
  • 22
10
votes
3 answers

Hide only .supplementary column in UISplitViewController

I've set up a UISplitViewController with style .tripleColumn. let splitViewController = UISplitViewController(style: .tripleColumn) preferredDisplayMode = .twoBesideSecondary preferredSplitBehavior = .tile For the first menu item "My Stories" it…
gpichler
  • 2,181
  • 2
  • 27
  • 52
10
votes
2 answers

iOS 14 UISplitViewController (sidebar) with triple column sidebar toggle icon behavior

I'm implementing the iOS 14 (iPadOS 14) sidebar (UISplitViewController with TripleColumn) and having strange "sidebar toggle icon" behavior. In iOS 13 I'm using the tab bar with some split views and table views so I need the Triple Column instead of…
benck
  • 2,034
  • 1
  • 22
  • 31
1
2 3
18 19