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
0
votes
0 answers

Cordova Local Webserver Plugin - local host is blocked (iPadOS / iOS) by Content Restrictions

We have an app that uses Cordova and the Cordova Local Webserver Plugin. Opening the start page index.html is accomplished using a localhost call to the plugin (something like http://localhost:xxxxx/index.html where xxxxx is the port number…
0
votes
2 answers

How can I make SwiftUI events split horizontally when there's overlap?

I'm working on a SwiftUI view to display events in a calendar. Currently, the events are displayed vertically, and I have them working fine when there are no overlaps. However, I'm struggling to figure out how to handle events that overlap in terms…
markb
  • 1,100
  • 1
  • 15
  • 40
0
votes
0 answers

Get og:image URL from LPLinkMetadata instead of UIImage data

I am able to get UIImage from NSItemProvider of LPLinkMetadata from the below code. But I need the URL of the remote image. How do I do that? I believe LPLinkMetadata is derived from OpenGraph headers og:image which is an URL for the…
Kevv Keka
  • 183
  • 11
0
votes
0 answers

Getting the window size for iPad, supporting multiple scenes?

I need to get informations about the screen size for the current scene in an iPad application. Assume this snippet as an example var body: some View { let sceneSize = getCurrentSceneSize() Rectangle() …
Baffo rasta
  • 320
  • 1
  • 4
  • 17
0
votes
0 answers

Vertical positioning of text in UITabBar changes when multitasking size changes - how to correct?

I'm adding a UITabBarController to my app. At the same time I'm now supporting multitasking on iPad. When in fullscreen the text in the UITabBar is vertically positioned just above centre Y in the Tab Bar (this is done by the framework). However,…
iOSProgrammingIsFun
  • 1,418
  • 1
  • 15
  • 32
0
votes
1 answer

How do you find and open a DriverKit service and communicate with it on iPadOS?

I'm trying to communicate between an iPad app and a DriverKit dext, but IOServiceGetMatchingServices can't find the dext to communicate with. I've been basing my app on this macOS example from…
thoms
  • 55
  • 5
0
votes
1 answer

Alternate Icons not included in iPadOS build of app's CFBundleAlternateIcons

I'm developing a SwiftUI app and have implemented app icon switching. I walk the list of CFBundleAlternateIcons from the main bundle's CFBundleIcons key at runtime to display the list of options the user can select from. All is well when running on…
Jeff Nouwen
  • 335
  • 1
  • 4
  • 9
0
votes
0 answers

How to share a URL with fragment in Safari on iPadOS

When I open a URL that ends in a fragment with Safari on iPadOS 15 (e.g. https://example.com/page#heading), Safari will scroll to the position identified by the fragment (heading). But when I then try to share that URL via Mail, the URL entered into…
maf
  • 305
  • 1
  • 9
0
votes
1 answer

Xamarin Forms UIButton event is not triggered in custom cell

I don't know if this is the best way but, in our application, we have a CustomCell class to show datas in a table view. Until the last week, it was working properly. Currently the button TouchUpInside event is not triggered. Maybe the new iOS…
Coskun Ozogul
  • 2,389
  • 1
  • 20
  • 32
0
votes
1 answer

How to use custom fonts in Swift Playgrounds 4.2.1 (.swiftpm app playground project)?

I am aware of this post on the same exact question, and I tried that exact solution. However, it will not work as it throws the fatal error, "Couldn't create font from data". It seems like Swift cannot find my font. I am currently using Xcode to…
Joe
  • 69
  • 1
  • 12
0
votes
1 answer

Are there UIScenes that are not UIWindowScenes?

Apple's boilerplate code for UISceneDelegate contains a stub implementation for scene(_:willConnectTo:options:). This starts with: guard let _ = (scene as? UIWindowScene) else { return } Is is really possible that we end up in the else branch here?…
Tobi
  • 2,591
  • 15
  • 34
0
votes
0 answers

Disable "Undo added strokes" popup in Swift and PKCanvasView

Currently if a user has created a stroke and shakes with the Apple Pencil and then shakes the iPad, a pop up saying 'Undo Added strokes" pops up. We want to remove this from the app for pencil kit. Currently, Apple's documentation suggests that we…
Osian
  • 171
  • 1
  • 14
0
votes
1 answer

How to determine the source of unwanted iPadOS external keyboard shortcuts in a multiple window app?

At the time of writing, I’m developing with Xcode 14.2 and iPadOS 16.3.1. I am updating an existing app to support multiple windows/scenes for iPadOS. The main scene uses UIKit and the child scenes use mainly SwiftUI. I turned my attention to…
Kpalser
  • 843
  • 7
  • 8
0
votes
0 answers

UISplitViewController's primary viewController set its origin.x as -100

UISplitViewController creates a UINavigationController for primary view controller. However, the left side of the primary view controller is hidden, so I check the view hierarchy. The reason is that the x value of origin of the navigation…
choiapril
  • 183
  • 1
  • 4
  • 14
0
votes
0 answers

SwiftUI .hoverEffect on view with Material background blacks out view

I have a view with a material background fill. When applying a hoverEffect to this view, the view becomes blacked out on hover. Very minimal reproducible code: ZStack { Rectangle() .fill(Material.thinMaterial) …
tim
  • 184
  • 1
  • 10