Discuss hardware-specific topics related to iPad.

Posts under iPad tag

118 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Why is my iPad not accepting screenshot images from my Mac?
I frequently use the Universal Control feature from my Mac, the 27in, to my iPad Pro 5th gen, and recently, when I take a screenshot from my Mac and drag and drop to my tablet, the image won't appear. To be clear, I see the mouse going from the Mac to the iPad, and I see the image floating on the iPad, but when I release the image, it does not appear on the screen. I have the latest update, the Sonoma 14.4. I've searched everywhere and I honestly don't know what to do. I am not good with tech, but I don't know what else to do. In addition, I don't know if this is relevant, but my Mac does not find my iPad on Bluetooth and I have tried everything as well. I restarted it, and everything and nothing.
0
0
456
Mar ’24
iPad Split View causing crash due to incorrect parent view controller in multitasking mode
I'm encountering a crash in my iPad application when using Split View or Slide Over multitasking mode. The crash is occurring with the error message: Crashing on exception: child view controller:<UIPageViewController: 0x155f84200> should have parent view controller:<MyApp.HomeViewController: 0x29e040800> but actual parent is:<MyAoo.HomeViewController: 0x12d2c5e00> The issue seems to be related to incorrect parent view controller assignments when retrieving the top view controller using the window. I've tried to address this by saving the persistent identifier in UserDefaults and comparing it when retrieving the key window, but the problem persists. Here's a snippet of the code I'm using to retrieve the key window: `static func getKeyWindow(for role: UISceneSession.Role = .windowApplication) -> UIWindow? { for scene in shared.connectedScenes { guard scene.session.role == role else { continue } if let savedIdentifier = UserDefaults.standard.string(forKey: "\(scene.session.persistentIdentifier)") { debugPrint("#### saved identifier is \(savedIdentifier)") if scene.session.persistentIdentifier == savedIdentifier { return (scene as? UIWindowScene)?.windows.first { $0.isKeyWindow } } else { debugPrint("#### didn't match identifier") } } else { return (scene as? UIWindowScene)?.windows.first { $0.isKeyWindow } } } return nil }` It seems like the issue arises when the app is opened in a split view, as the persistent identifier changes but the app fails to differentiate between the different instances. Consequently, it takes the wrong Split View window and returns the wrong HomeViewController instance, leading to the crash. How can I properly handle the retrieval of the top view controller to avoid this crash in multitasking mode on iPad? Any insights or suggestions would be greatly appreciated. Thanks in advance!
0
0
628
Mar ’24
parallax on iPadPro
Is apple still deciding what we can view, disabling parallax on websites (safari) or is there a workaround? I am a graphic designer and web developer with an iPad Pro. iPadPro uses "desktop" css not tablet (due to its larger size), so it looks like the desktop website but the beautiful features of parallax are missing. Not helpful with troubleshooting and editing websites on iPadPro after hours. Anyone know a way to force parallax to work?
1
0
598
Mar ’24
iPad app with NFC and camera - No compatible hardware
I'm working on an app (actually in Test Flight) that has camera and NFC support. So in iPhone is obviously working as expected, but when testers want to try the camera "aspect" of the app on iPads they can't even download the app it says "No compatible hardware" in Test Flight. What I need to do in this case, I already have a UI/UX solution when theres no NFC support or it's disabled (Android can detect this) but here I have no clue if I'm missing something. Thanks in advance
1
0
642
Mar ’24
iOS 17 crash on UIDocumentInteractionController 'Print' option
When showing PDF document in UIDocumentInteractionController and when tap on share button > Print, app crash. Below is the crash log *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [UIPrintPanelNavigationController shouldAutorotate] is returning YES' It's a iPad app supporting Landscape orientation only. And its in Objective C.
1
0
631
Feb ’24
iPad 10th generation top header text becomes invisible only in app initial launch.
I’m creating a hybrid app using Swift and Angular. Angular content is loading on top of the Native Swift WkWebView. Starting from iPad 10th generation only in the app initial launch header area become invisible(invisible means header text becomes white). But once I send the app to background and return to foreground header text becomes black and it will show without problem. I would really like to know whether this is a OS problem and if so is there any pro-grammatical solution for this? if anyone can guide me to proper way fix this much a appreciated!!! Environment: ・Device: iPad 10th generation ・OS:iPad OS 17.3.1 ・Native App : Swift 5
1
0
588
Feb ’24
onKeyPress not working on iOS/iPadOS 17.4 but fine on macOS
According to a post on hackingwithswift.com, this should work on iOS/iPadOS: import SwiftUI struct ContentView: View { @FocusState private var focused: Bool @State private var key = "" var body: some View { Text(key) .focusable() .focused($focused) .onKeyPress { press in key += press.characters return .handled } .onAppear { focused = true } } } It does not work for me using a hardware keyboard on an iPad running the latest iPadOS 17.4 beta but it does work on my Mac. FB13644182
1
0
569
Feb ’24
iPad Pro 12.9 6th Generation, wrong resolution from navigator.mediaDevices.getUserMedia()
Hello, I've been developing a web app which I need the front camera and need to take a picture at a higher resolution. But I have one issue. When I call navigator.mediaDevices.getUserMedia() in the browser to get the resolution of the camera, it shows it as 2052 x 2736. But it's a 12 MP front camera. I take a picture of myself using the camera app on the iPad and it shows 12 MP picture. The back camera reports it fine. You can also test it out on webcamtests.com to see the resolution.
0
0
422
Feb ’24
PKDrawing.image crashes on iOS 17 (EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000210)
In 2 days we have observed in Crashlytics over 50 crashes related to PKDrawing.image with EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000210 So far all on iPads with A10, A12 and A13; 100% on iOS 17 (17.1.1, 17.2, 17.3) (while in others the percent of iOS 17 was around 60-80%). Context: Images of the varying frame and scale resulting in screen resolution are being generated sequentially (in a background serial queue called almost one after another when requested), updating one CALayer.contents (and only after this update on Main Thread the next generation is allowed). One zoomable PKCanvasView is present on screen. The crashing line in code: let image = drawing.image(from: frame, scale: renderScale).cgImage The questions: Is there anything that can be done apart from throttling generation? Can the circumstances of the crash be determined – are there any indications accessible in code before calling PKDrawing.image that app might crash? The traces: 0 AGXMetalA12 AGX::BlitContext<AGX::G11::Encoders, AGX::G11::Classes, AGX::G11::ObjClasses>::copyTextureToBuffer(IOGPUMetalResource const*, unsigned long, unsigned long, unsigned long, AGXA12FamilyTexture*, unsigned int, unsigned int, MTLOrigin, MTLSize, unsigned long) + 96 9 PencilKit PKDrawing.image(from:scale:) + 28 0 AGXMetalA13 <redacted> + 96 9 PencilKit PKDrawing.image(from:scale:) + 28 0 AGXMetalA10 <redacted> + 72 9 PencilKit $s9PencilKit9PKDrawingV5image4from5scaleSo7UIImageCSo6CGRectV_12CoreGraphics7CGFloatVtF + 24
2
1
872
Feb ’24
Getting random reactive swift crash
I am getting below crash in reactive swift library. Will really appreciate any help in resolving it. Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000016b33bfe0 Exception Codes: 0x0000000000000002, 0x000000016b33bfe0 VM Region Info: 0x16b33bfe0 is in 0x16b338000-0x16b33c000; bytes after start: 16352 bytes before end: 31 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL MALLOC_SMALL 15b800000-15c000000 [ 8192K] rw-/rwx SM=PRV GAP OF 0xf338000 BYTES ---&gt; STACK GUARD 16b338000-16b33c000 [ 16K] ---/rwx SM=NUL ... for thread 0 Stack 16b33c000-16b438000 [ 1008K] rw-/rwx SM=SHM thread 0 Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [1677] Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 libswiftCore.dylib 0x000000019371c5a8 getCache(swift::TargetTypeContextDescriptorswift::InProcess const&amp;) + 8 (Metadata.cpp:479) 1 libswiftCore.dylib 0x000000019371d108 swift_getGenericMetadata(swift::MetadataRequest, void const* const*, swift::TargetTypeContextDescriptorswift::InProcess const*) + 56 (Metadata.cpp:937) 2 ReactiveSwift 0x0000000107cdef74 __swift_instantiateGenericMetadata + 28 (:0) 3 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115) 4 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 5 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal&lt;&gt;.observeSwitchToLatest(::) + 188 (Flatten.swift:677) 6 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 7 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231) 8 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115) 9 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 10 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal&lt;&gt;.observeSwitchToLatest(::) + 188 (Flatten.swift:677) 11 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 12 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231) 13 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115) 14 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111) 15 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal&lt;&gt;.observeSwitchToLatest(:_:) + 188 (Flatten.swift:677) Here is Stack trace for the crash. crashlog.txt
1
0
649
Feb ’24
Action Extension works on iPhone but not on iPad
There is an application on iPhone. The Action Extension is used, it works great on the iPhone, but when you add Destination = iPad, the application starts, works, but the extension does not work. Error: -[_EXSinkLoadOperator loadItemForTypeIdentifier:completionHandler:expectedValueClass:options:] nil expectedValueClass allowing {( NSURL, NSDictionary _EXItemProviderSandboxedResource, NSUUID, NSDate, NSArray, NSData, NSString, NSNumber NSError UIImage, NSValue )} The error occurs here: if itemProvider.hasItemConformingToTypeIdentifier(typeImage) { itemProvider.loadItem(forTypeIdentifier: typeImage, options: nil) { item, error in Doesn't work on a real device, works on simulators. iOS 17.2, XCode 15.2. On simulator first time the extension works and opens the main app, but on the second attempt the main app is not called (after selecting the extension, the image is kinda shadowed and then the shadow disappears). On simulator tested with iPad 6, iPad 9, iPad 10, iPad Air 6. On real iPad 6 does not work at all.
1
0
690
Feb ’24
Does the app will be revised on a iPad or a MacOS?
I am developing my app for the Swift Student Challenge 2024. I have made significant progress on it and have been building it on a M1 Mac, where it works perfectly. However, when testing it on some iPads (specifically, the iPad Pro 2018 and iPad Air 5 M1), it did not perform well on these devices. I am wondering if I can specify whether the app should be reviewed on a Mac (M1 or later) or if it will be reviewed on an iPad.
1
0
613
Jan ’24
iPad internal GPS receiver channels
Hi everyone, I'm working for an aircraft operator as an engineer. Our pilots use iPads for their operations and different applications on it. One of the application (Jeppesen FliteDeck Pro X) is using a feature that uses the GPS of the iPad (we use iPad 9th Wifi+Cellular). In order to prove that the application is reliable for operations, we need to prove to the Authorities that the GPS of the iPad can receive more than 12 channels from satellites. Does it exist a way to know approximately how many channels an iPad can receive? Or does a statement exist from Apple? We know that it is capable of, but we need to be able to prove it. Your help would be greatly appreciated. Thank you for your support. Paul
4
0
787
Jan ’24
Getting Error whil Archiving XCODE 15.2
error: unknown command 'export:embed' [[ '' == false ]] EXTRA_COMPILER_ARGS= [[ false == true ]] EXTRA_COMPILER_ARGS=-O [[ '' == true ]] /Users/shubhanshu/Desktop/Wiingy/ios/Pods/hermes-engine/destroot/bin/hermesc -emit-binary -max-diagnostic-width=80 -O -out /Users/shubhanshu/Library/Developer/Xcode/DerivedData/wiingy-cnqwlfebgmfopbaucmgtdjbtyhpe/Build/Intermediates.noindex/ArchiveIntermediates/wiingy/BuildProductsPath/Release-iphoneos/wiingy.app/main.jsbundle /Users/shubhanshu/Library/Developer/Xcode/DerivedData/wiingy-cnqwlfebgmfopbaucmgtdjbtyhpe/Build/Intermediates.noindex/ArchiveIntermediates/wiingy/BuildProductsPath/Release-iphoneos/main.jsbundle Error! Failed to open file: /Users/shubhanshu/Library/Developer/Xcode/DerivedData/wiingy-cnqwlfebgmfopbaucmgtdjbtyhpe/Build/Intermediates.noindex/ArchiveIntermediates/wiingy/BuildProductsPath/Release-iphoneos/main.jsbundle [[ '' == true ]] BUNDLE_FILE=/Users/shubhanshu/Library/Developer/Xcode/DerivedData/wiingy-cnqwlfebgmfopbaucmgtdjbtyhpe/Build/Intermediates.noindex/ArchiveIntermediates/wiingy/BuildProductsPath/Release-iphoneos/wiingy.app/main.jsbundle [[ false != true ]] [[ ! -f /Users/shubhanshu/Library/Developer/Xcode/DerivedData/wiingy-cnqwlfebgmfopbaucmgtdjbtyhpe/Build/Intermediates.noindex/ArchiveIntermediates/wiingy/BuildProductsPath/Release-iphoneos/wiingy.app/main.jsbundle ]] Command PhaseScriptExecution emitted errors but did not return a nonzero exit code to indicate failure
2
0
797
Jan ’24