Discuss hardware-specific topics related to iPad.

Posts under iPad tag

200 Posts

Post

Replies

Boosts

Views

Activity

xcode 15.4 [Debug] -> [Simulate Location] with custom gpx is broken
I'm using location simulation on my device via xcode a lot and it worked as expected since yesterday. Now it's broken :( My custom gpx files are no longer visible in "Simulate Location". I only see the build-in locations. When I try to add a new gpx file with "Add GPX File to Workspace..." the gpx files are greyed out. I created a new project and same here. No custom GPX files shown and cant add via menu. I'm using xcode 15.4 and it worked before, but I updated to macOS 14.6 last week. Did someone have experienced the same ? The Internet has no sign of such a behavior :( Maybe the file association is broken? I already removed xcode and user data related to xcode completly and reinstalled xcode, but this was not helping.
4
1
1.3k
Aug ’24
Center stage control mode not working for iPad on front camera with .photo session preset.
I am working on an iPad app using the front camera. The camera logic is implemented using the AVFoundation framework. During a session I use central stage mode to center the face with front camera . Central stage mode works fine in all cases except when I set the session preset photo. In other presets: high, medium, low, cif352x288, vga640x480, hd1280x720, hd1920x1080, iFrame960x540, iFrame1280x720, inputPriority presets central stage mode working except photo session preset. Can you explain why this happens or maybe it is an unobvious bug? Code snippet: final class CameraManager { //MARK: - Properties private let captureSession: AVCaptureSession private let photoOutput: AVCapturePhotoOutput private let previewLayer: AVCaptureVideoPreviewLayer //MARK: - Init init() { captureSession = AVCaptureSession() photoOutput = AVCapturePhotoOutput() previewLayer = AVCaptureVideoPreviewLayer(session: captureSession) } //MARK: - Methods Setup Camera and preview layer func setupPreviewLayerFrame(view: UIView) { previewLayer.frame = view.frame view.layer.insertSublayer(previewLayer, at: 0) setupCamera() } private func setupCamera() { guard let videoCaptureDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) else { return } AVCaptureDevice.centerStageControlMode = .app AVCaptureDevice.isCenterStageEnabled = true do { let input = try AVCaptureDeviceInput(device: videoCaptureDevice) captureSession.addInput(input) captureSession.addOutput(photoOutput) /// high, medium, low, cif352x288, vga640x480, hd1280x720, hd1920x1080, iFrame960x540, iFrame1280x720 and inputPriority presets working except photo session preset captureSession.sessionPreset = .photo DispatchQueue.global(qos: .userInteractive).async { self.captureSession.startRunning() } } catch { print("Error setting up camera: \(error.localizedDescription)") } } }
0
0
648
Aug ’24
Certain Docusign Url does not load on IOS 17.5.1 but works on 17.4.1
Hello, We are seeing a behavior where we find that a certain Url (docusign signing ceremony which is a webpage) works fine on Ipad with OS version 17.4.1 but NOT on Ipads with 17.5.1. This behavior is exactly same if I use chrome browser, safari browser or our custom application (Maui Application and we host the signing ceremony) I am not sure but since the OS is the difference here just wondering if there can be a potential issue here. or its still the cert issue from the provider. NET::ERR_CERT_AUTHORITY_INVALID - is the error shown in Chrome and Safari shows "Safari can't open the page because it could n't establish a secure connection t the server".
Topic: Safari & Web SubTopic: General Tags:
0
0
610
Aug ’24
Can't install app to iPad when Required Device Capability has NFC?
Hello Is it impossible to install an app to both iPhone and iPad when the app use NFC? The app, I'm working on, use NFC on iPhone but not on iPad. The app program code checks iPhone or iPad and use NFC only on iPhone. However, TestFlight and App Store show "No Compatible Hardware" on iPad and can't download. It works as expected on iPhone. Target Device is set both iPhone and iPad, the configuration is TARGETED_DEVICE_FAMILY = "1,2" According to Required Device Capabilities, iPad doesn't support NFC https://developer.apple.com/support/required-device-capabilities/#ipad-devices The app has UIRequiredDeviceCapabilities = nfc configuration only for iPhone. But is it block installing to iPad? If so how to fix this issue? Thanks in advance.
3
0
918
Aug ’24
SwiftUI TextEdit iPad external keyboard "Return" key
I can intercept the "Return" button and "Shift+Return" on an iPad's external Bluetooth keyboard with the TextField "onKeyPress" method. But - this always dismisses the keyboard. It looks like the TextField loses focus. This happens whether I return ".handled" or ".ignored". How can I maintain focus on the TextField and not have the keyboard dismissed?
3
0
813
Jul ’24
Assistance Needed: Xcode Version for Testing iOS 17.5.1 on iPhone 14 Pro & iPad Air 5th Gen
Hi, I'm seeking assistance with finding the correct version of Xcode to test an emulator running iOS 17.5.1 for the iPhone 14 Pro and iPad Air (5th Generation). I am experiencing issues with publishing my app to the App Store and receiving a Guideline 2.1 rejection. Although the app functions correctly on TestFlight and other devices, it crashes (white screen) when opened on the specified device and iOS version. I have tested the app on multiple devices, and it works fine on those, but the Apple review team has reported crashes specifically on the aforementioned device and iOS version. Could someone guide me on how to resolve this or direct me to the appropriate XCode version for testing? Thank you for your help.
0
0
426
Jul ’24
tab icon in iPadOS 18 tab bar
How to show icons on tabs in iPadOS 18? iPadOS 18 shows my UITabBar on the top of the iPad. That's fine with me, even though iOS 18 still shows the tab bar on the bottom of the iPhone. iPadOS 18 does not display my icons on the tab bar items. That's not fine, as these icons carry information. iOS 18 still does show the tab icons. How can I either Show the tab icons in the tab items displayed on the top, or Display the tab items with their icons on the bottom, as in iPadOS 17 and before and in iOS 18?
2
0
2.5k
Jul ’24
ViewController Not Displayed for 8th Tab in Elevated Tab Bar with More Than 7 Tabs
ViewControllers for the 8th and higher tabs are not displayed in the elevated Tab Bar. However, I am able to select these tabs both in the Tab Bar and the side bar. func setTabs(){ let colors = [UIColor.red,.systemGray6,.green,.systemMint,.cyan,.yellow,.blue,.magenta] var tabs = [UITab]() let range = 0...10 for index in range { if #available(iOS 18.0, *) { let tab = UITab(title: "Tab_\(index)", image: UIImage(systemName: "globe"), identifier: "tab__\(index)", viewControllerProvider: {tab in let vc = UIViewController() vc.view.backgroundColor = colors[index%colors.count] return vc }) tabs.append(tab) } } tabbarController.setTabs(tabs, animated: true) }
1
0
607
Jul ’24
iPadOS 18 TabView / NavigationSplitView title
I have a TabView with individual tabs containing NavigationSplitViews. On iPadOS 18, when moving the new UI into a sidebar, the title of the first column in the current split view randomly spins its way in and out of view. Is this just a beta bug, or am I doing something wrong? Hard to convey without a recording, but hopefully the screenshots will show what I mean. Thanks.
1
0
746
Jul ’24
Emulated GCGameController not working with non fullscreen Designed for iPad apps on MacBook
Hello, I have an iPad app that users are running on their M1 / M2 MacBooks thanks to the "Designed for iPad" feature. Some of them reported to me that the pressed keyboard keys were not recognized. According to my source code, it seems that my custom views (that are set as firstResponder) do not get pressesBegan events. While I could not reproduce this specific problem on my M1 Macbook, I found a strange problem that may be related. My view also supports interaction with game controllers. I found that the emulated controller (which is using the keyboard, when the controller emulation feature of the Designed for iPad app is set to On) has some problems. The valueChangedHandler of the GCExtendedGamepad from the GCGameController is only fired if the app is compiled with the "Requires full screen" option set to On. If Requires full screen is unchecked in XCode, the Emulated Controller is still present in the list of game controllers, but no button callbacks are triggered. Note that a real game controller connected via USB will work correctly no matter how Requires full screen is set. Could there be a focus bug of the keyboard not sending events when the app is not a full screen app (resizable on mac, and multitask on iPad)? Or is there something I can change to avoid this problem? I'm lost.
0
0
917
Jul ’24
Two audio streams from specific built-in microphones?
I have an iPad Pro 12.9". I am looking to make an app which can take a simultaneous audio recording from two different microphones at the same time. I want to be able to specify which of the 5 built-in microphones each audio stream should use - ideally one should be from the microphone on the left side of the iPad, and the other should be from one of the mics at the top of the iPad. Is this possible to achieve with the API? The end goal here is to be able to use the two audio streams and do some DSP on the recordings to determine the approximate direction a particular sound comes from.
0
0
664
Jul ’24
Static lines when using Scribble
I just got the iPad air 5th gen and also the Apple Pencil 2nd Gen and right when I started using the scribble function, I would get random static lines along the lettering or random parts of the screen. it only appears when I'm waiting and doesn't affect the actual things I'm writing. The iPad also automatically updated to the beta version of ios 18 because my iPhone is also on the beta. Is anyone else having this issue?
0
0
697
Jun ’24
Adalo App Submission Issue on IOS
Greetings to all! I recently developed an called DANZUB, the hub for dancers using the Adalo no-code tool. The App from adalo was directly imported into TestFlight on App Store Connect. When I released it for review, I got a rejection that app was not supported (display scale issue) on Ipad. I have primarily designed for IPhones and I do not know how I can adjust to IPads as well. I don't have this option on Adalo. Some said I could change the settings in XCode. But I don;t have the file, because the file was directly exported from Adalo to App Store Connect. I am unable to download the file. Please help, I am new to developing. So close yet so far. Thanks all!!
0
0
760
Jun ’24
Why can't run xcode on the ipad pro
now,ipad pro has M4.It support Swift Playgrounds,but must be built with a minimum of Xcode 15? Why still need a mac, when I want to develop an ipad app!
Replies
0
Boosts
1
Views
601
Activity
Aug ’24
xcode 15.4 [Debug] -> [Simulate Location] with custom gpx is broken
I'm using location simulation on my device via xcode a lot and it worked as expected since yesterday. Now it's broken :( My custom gpx files are no longer visible in "Simulate Location". I only see the build-in locations. When I try to add a new gpx file with "Add GPX File to Workspace..." the gpx files are greyed out. I created a new project and same here. No custom GPX files shown and cant add via menu. I'm using xcode 15.4 and it worked before, but I updated to macOS 14.6 last week. Did someone have experienced the same ? The Internet has no sign of such a behavior :( Maybe the file association is broken? I already removed xcode and user data related to xcode completly and reinstalled xcode, but this was not helping.
Replies
4
Boosts
1
Views
1.3k
Activity
Aug ’24
Center stage control mode not working for iPad on front camera with .photo session preset.
I am working on an iPad app using the front camera. The camera logic is implemented using the AVFoundation framework. During a session I use central stage mode to center the face with front camera . Central stage mode works fine in all cases except when I set the session preset photo. In other presets: high, medium, low, cif352x288, vga640x480, hd1280x720, hd1920x1080, iFrame960x540, iFrame1280x720, inputPriority presets central stage mode working except photo session preset. Can you explain why this happens or maybe it is an unobvious bug? Code snippet: final class CameraManager { //MARK: - Properties private let captureSession: AVCaptureSession private let photoOutput: AVCapturePhotoOutput private let previewLayer: AVCaptureVideoPreviewLayer //MARK: - Init init() { captureSession = AVCaptureSession() photoOutput = AVCapturePhotoOutput() previewLayer = AVCaptureVideoPreviewLayer(session: captureSession) } //MARK: - Methods Setup Camera and preview layer func setupPreviewLayerFrame(view: UIView) { previewLayer.frame = view.frame view.layer.insertSublayer(previewLayer, at: 0) setupCamera() } private func setupCamera() { guard let videoCaptureDevice = AVCaptureDevice.default(.builtInWideAngleCamera, for: .video, position: .front) else { return } AVCaptureDevice.centerStageControlMode = .app AVCaptureDevice.isCenterStageEnabled = true do { let input = try AVCaptureDeviceInput(device: videoCaptureDevice) captureSession.addInput(input) captureSession.addOutput(photoOutput) /// high, medium, low, cif352x288, vga640x480, hd1280x720, hd1920x1080, iFrame960x540, iFrame1280x720 and inputPriority presets working except photo session preset captureSession.sessionPreset = .photo DispatchQueue.global(qos: .userInteractive).async { self.captureSession.startRunning() } } catch { print("Error setting up camera: \(error.localizedDescription)") } } }
Replies
0
Boosts
0
Views
648
Activity
Aug ’24
App Becomes Unresponsive for iOS/iPadOS 18 Regular Size Class Interactions When Selecting One Particular View in Sidebar
See FB13917278 (App Becomes Unresponsive for iOS/iPadOS 18 Regular Size Class Interactions When Selecting One Particular View in Sidebar).
Replies
6
Boosts
0
Views
5.2k
Activity
Aug ’24
Certain Docusign Url does not load on IOS 17.5.1 but works on 17.4.1
Hello, We are seeing a behavior where we find that a certain Url (docusign signing ceremony which is a webpage) works fine on Ipad with OS version 17.4.1 but NOT on Ipads with 17.5.1. This behavior is exactly same if I use chrome browser, safari browser or our custom application (Maui Application and we host the signing ceremony) I am not sure but since the OS is the difference here just wondering if there can be a potential issue here. or its still the cert issue from the provider. NET::ERR_CERT_AUTHORITY_INVALID - is the error shown in Chrome and Safari shows "Safari can't open the page because it could n't establish a secure connection t the server".
Topic: Safari & Web SubTopic: General Tags:
Replies
0
Boosts
0
Views
610
Activity
Aug ’24
Can't install app to iPad when Required Device Capability has NFC?
Hello Is it impossible to install an app to both iPhone and iPad when the app use NFC? The app, I'm working on, use NFC on iPhone but not on iPad. The app program code checks iPhone or iPad and use NFC only on iPhone. However, TestFlight and App Store show "No Compatible Hardware" on iPad and can't download. It works as expected on iPhone. Target Device is set both iPhone and iPad, the configuration is TARGETED_DEVICE_FAMILY = "1,2" According to Required Device Capabilities, iPad doesn't support NFC https://developer.apple.com/support/required-device-capabilities/#ipad-devices The app has UIRequiredDeviceCapabilities = nfc configuration only for iPhone. But is it block installing to iPad? If so how to fix this issue? Thanks in advance.
Replies
3
Boosts
0
Views
918
Activity
Aug ’24
SwiftUI TextEdit iPad external keyboard "Return" key
I can intercept the "Return" button and "Shift+Return" on an iPad's external Bluetooth keyboard with the TextField "onKeyPress" method. But - this always dismisses the keyboard. It looks like the TextField loses focus. This happens whether I return ".handled" or ".ignored". How can I maintain focus on the TextField and not have the keyboard dismissed?
Replies
3
Boosts
0
Views
813
Activity
Jul ’24
iOS 18 - How to retrieve the current order of the tabs in iPad
In iOS 18 on iPad, the elevated tab bar order is persisted by the system. After reordering the tabs, how can I retrieve the current order of the tabs? and how to override the order programatically.
Replies
1
Boosts
0
Views
654
Activity
Jul ’24
Assistance Needed: Xcode Version for Testing iOS 17.5.1 on iPhone 14 Pro & iPad Air 5th Gen
Hi, I'm seeking assistance with finding the correct version of Xcode to test an emulator running iOS 17.5.1 for the iPhone 14 Pro and iPad Air (5th Generation). I am experiencing issues with publishing my app to the App Store and receiving a Guideline 2.1 rejection. Although the app functions correctly on TestFlight and other devices, it crashes (white screen) when opened on the specified device and iOS version. I have tested the app on multiple devices, and it works fine on those, but the Apple review team has reported crashes specifically on the aforementioned device and iOS version. Could someone guide me on how to resolve this or direct me to the appropriate XCode version for testing? Thank you for your help.
Replies
0
Boosts
0
Views
426
Activity
Jul ’24
Calculator
I’m using IpadOS18 beta. I love the new calculator however there are some major flaws. It can’t recognise longer more complicated equations. This is an easy fix. The m4 is more than capable for recognising these equations, please improve math notes.
Replies
1
Boosts
0
Views
570
Activity
Jul ’24
tab icon in iPadOS 18 tab bar
How to show icons on tabs in iPadOS 18? iPadOS 18 shows my UITabBar on the top of the iPad. That's fine with me, even though iOS 18 still shows the tab bar on the bottom of the iPhone. iPadOS 18 does not display my icons on the tab bar items. That's not fine, as these icons carry information. iOS 18 still does show the tab icons. How can I either Show the tab icons in the tab items displayed on the top, or Display the tab items with their icons on the bottom, as in iPadOS 17 and before and in iOS 18?
Replies
2
Boosts
0
Views
2.5k
Activity
Jul ’24
ViewController Not Displayed for 8th Tab in Elevated Tab Bar with More Than 7 Tabs
ViewControllers for the 8th and higher tabs are not displayed in the elevated Tab Bar. However, I am able to select these tabs both in the Tab Bar and the side bar. func setTabs(){ let colors = [UIColor.red,.systemGray6,.green,.systemMint,.cyan,.yellow,.blue,.magenta] var tabs = [UITab]() let range = 0...10 for index in range { if #available(iOS 18.0, *) { let tab = UITab(title: "Tab_\(index)", image: UIImage(systemName: "globe"), identifier: "tab__\(index)", viewControllerProvider: {tab in let vc = UIViewController() vc.view.backgroundColor = colors[index%colors.count] return vc }) tabs.append(tab) } } tabbarController.setTabs(tabs, animated: true) }
Replies
1
Boosts
0
Views
607
Activity
Jul ’24
iPadOS 18 TabView / NavigationSplitView title
I have a TabView with individual tabs containing NavigationSplitViews. On iPadOS 18, when moving the new UI into a sidebar, the title of the first column in the current split view randomly spins its way in and out of view. Is this just a beta bug, or am I doing something wrong? Hard to convey without a recording, but hopefully the screenshots will show what I mean. Thanks.
Replies
1
Boosts
0
Views
746
Activity
Jul ’24
Apple Pencil Not Working 2nd Gen
I updated to the IOS 18 Beta and my Apple pencil won’t work on my device at all. I detach and reattach it and it recognizes its power level but it won’t write or highlight.
Replies
1
Boosts
0
Views
796
Activity
Jul ’24
Emulated GCGameController not working with non fullscreen Designed for iPad apps on MacBook
Hello, I have an iPad app that users are running on their M1 / M2 MacBooks thanks to the "Designed for iPad" feature. Some of them reported to me that the pressed keyboard keys were not recognized. According to my source code, it seems that my custom views (that are set as firstResponder) do not get pressesBegan events. While I could not reproduce this specific problem on my M1 Macbook, I found a strange problem that may be related. My view also supports interaction with game controllers. I found that the emulated controller (which is using the keyboard, when the controller emulation feature of the Designed for iPad app is set to On) has some problems. The valueChangedHandler of the GCExtendedGamepad from the GCGameController is only fired if the app is compiled with the "Requires full screen" option set to On. If Requires full screen is unchecked in XCode, the Emulated Controller is still present in the list of game controllers, but no button callbacks are triggered. Note that a real game controller connected via USB will work correctly no matter how Requires full screen is set. Could there be a focus bug of the keyboard not sending events when the app is not a full screen app (resizable on mac, and multitask on iPad)? Or is there something I can change to avoid this problem? I'm lost.
Replies
0
Boosts
0
Views
917
Activity
Jul ’24
Two audio streams from specific built-in microphones?
I have an iPad Pro 12.9". I am looking to make an app which can take a simultaneous audio recording from two different microphones at the same time. I want to be able to specify which of the 5 built-in microphones each audio stream should use - ideally one should be from the microphone on the left side of the iPad, and the other should be from one of the mics at the top of the iPad. Is this possible to achieve with the API? The end goal here is to be able to use the two audio streams and do some DSP on the recordings to determine the approximate direction a particular sound comes from.
Replies
0
Boosts
0
Views
664
Activity
Jul ’24
Restrict Access to App on iPad
I have a mobile application accepted in the app store, and want to restrict access to ONLY iPhone. I have turned off access for macOS and visionOS, but cannot find a way to restrict access on iPads. Is there a way to do this without or with a new build?
Replies
0
Boosts
1
Views
582
Activity
Jun ’24
cursor stopped blinking
App is Xcode swiftUI on iPad using textview. The cursor is invisible yet it moves "underneath". How to make it visible. The app textview input is button characters and coexists with a Magic Keyboard where the cursor is visible.
Replies
0
Boosts
0
Views
649
Activity
Jun ’24
Static lines when using Scribble
I just got the iPad air 5th gen and also the Apple Pencil 2nd Gen and right when I started using the scribble function, I would get random static lines along the lettering or random parts of the screen. it only appears when I'm waiting and doesn't affect the actual things I'm writing. The iPad also automatically updated to the beta version of ios 18 because my iPhone is also on the beta. Is anyone else having this issue?
Replies
0
Boosts
0
Views
697
Activity
Jun ’24
Adalo App Submission Issue on IOS
Greetings to all! I recently developed an called DANZUB, the hub for dancers using the Adalo no-code tool. The App from adalo was directly imported into TestFlight on App Store Connect. When I released it for review, I got a rejection that app was not supported (display scale issue) on Ipad. I have primarily designed for IPhones and I do not know how I can adjust to IPads as well. I don't have this option on Adalo. Some said I could change the settings in XCode. But I don;t have the file, because the file was directly exported from Adalo to App Store Connect. I am unable to download the file. Please help, I am new to developing. So close yet so far. Thanks all!!
Replies
0
Boosts
0
Views
760
Activity
Jun ’24