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

SwiftUI: Crash when removing last NavigationLink

On SwiftUI with macOS and iPadOS I'm getting a crash, when I make the number of NavigationLink items variable and then try removing the last item. Deleting any other but the last item is fine. On crash I'm getting a log print: Fatal error: Index out…
1
vote
0 answers

iOS 14 UITextField on touch crash *** Assertion failure in -[UIKBCacheToken stringForConstruction:], UIKBCacheToken.m:204

One of my apps crashes only on iOS 14 real device (simulator works just fine) when UITextField is touched or becomeFirstResponder, even touch on UISearchBar text area result in a crash. Only happens on the Real device (no simulator) Only happens…
Chamira Fernando
  • 6,836
  • 3
  • 23
  • 23
1
vote
0 answers

Set a full page popver on an iPad

Is there a way to set (or force) a .popover to present itself as a full page popover view like on iPhones instead of a small window with an arrow on iPad ?
ChesterK2
  • 320
  • 3
  • 11
1
vote
2 answers

SwiftUI Popover Size is not expanding to fit content

Here is my code struct ContentView: View { @State var showingPopover = false var body: some View { VStack { Spacer() Text("Hello World") Spacer() HStack { …
Serenade X
  • 255
  • 4
  • 12
1
vote
0 answers

SwiftUI 2 Commands are not shown in iPadOS and do not fire

This code works in MacOS, I expected to see all Commands on an iPad by long pressing CMD on a hardware keyboard and to fire if the Command is pressed on the hardware keyboard. Unfortunately nothing happens on iPadOS (Simulator with iOS14-beta) long…
mica
  • 3,898
  • 4
  • 34
  • 62
1
vote
1 answer

Fullscreen element with `requestFullscreen()` doesn't work on chrome on ipad (iPad OS 13.6)

I'm trying to make an element enter "full screen" mode with requestFullscreen() API, and it works great in all browsers except for Chrome on iPad. I tried this package and it also works great in all browsers, including Safari on iPad, but not Chrome…
Ruby
  • 2,207
  • 12
  • 42
  • 71
1
vote
1 answer

'didRegisterForRemoteNotificationsWithDeviceToken' never called

I need some help. I have absolutely no clue why my notifications are not working. My AppDelegate looks like this: import UIKit @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate { func…
1
vote
1 answer

Overlay 'master' view for splitviewcontroller on ipadOS

I want to reproduce the 'master' view from the 'Find my' app in ipadOS. It looks like a splitviewcontroller but the 'master' view is like an overlay and this is very convenient if you have a map behind. I can't find the docs surrounding this. Any…
hugo411
  • 320
  • 1
  • 12
  • 29
1
vote
1 answer

How Can I Change The Text By Touching Anywhere Of The Screen In SwiftUI

Hello everyone I want to change the text randomly by touching anywhere but I can just change it by touching the text. var myArray = ["1", "2", "3"] @State private var selectedSuggestion = Int.random(in: 0...2) var body: some View { …
1
vote
0 answers

How to smooth transition in a conditional view?

Hi im doing an app for iPad an iPhone so I have a condition to detect the screen size .regular o .compact then I show an iPad navigation view or a tabview on iPhone or .compact view. import SwiftUI struct NavigationViewForiPhone : View{ var…
Misael Landeros
  • 545
  • 5
  • 18
1
vote
2 answers

How to check iPad have iPadOS

How can I programmatically check the iPad have iPadOS or iOS? Thanks in advance.
Piyush
  • 580
  • 1
  • 5
  • 23
1
vote
1 answer

How to listen floating keyboard show and hide notifications on iPad?

How to listen floating keyboard show and hide on iPad? UIKeyboardWillShowNotification or UIKeyboardWillHideNotification won't be called back. Main code below: - (void)viewDidLoad() { [super viewDidLoad]; [[NSNotificationCenter…
Smeegol
  • 2,014
  • 4
  • 29
  • 44
1
vote
1 answer

SwiftUI ScrollView, GeometryReader and Button = Weird Behaviour

For the past 2 hours, I have been trying to get a ScrollView of buttons to work, more specifically ScrollView of buttons that uses GeometryReader to determine its size. Additionally, all this is placed within a NavigationView. There was weird…
Chiah Soon
  • 507
  • 5
  • 18
1
vote
1 answer

How can I force a floating keyboard programmatically?

Is there a way to programmatically enforce a keyboard to be floating when it appears? I'm trying to implement this on an iPad app for a UITextField. The reason is that in floating mode it presents the decimal pad, which is what I want.
SMSidat
  • 1,163
  • 1
  • 15
  • 34
1
vote
1 answer

CSS state for iPad Pro cursor hover

The new cursor on iPad Pro aims to fit buttons when hovered. Is there a state used in safari to create special hover for it ? I would like to make a button looks like this on a website : Right now, hover state works but the cursor dot doesn’t…
Pol
  • 1,132
  • 1
  • 11
  • 35