Discuss hardware-specific topics related to iPad.

Posts under iPad tag

126 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

How to Upscale Depth Image from SceneDepth to Match CapturedFrame Resolution
I'm working on a project that involves depth sensing using Apple's ARKit, and I've run into a bit of a challenge. I hope someone can provide some guidance. I'm currently capturing depth information using ARKit's SceneDepth feature, and I also have the color image captured with CapturedFrame. However, the resolutions of these two sources are different. The SceneDepth image has a lower resolution compared to the CapturedFrame image. Now, I need to align these two images and upscale the SceneDepth image to match the resolution of the CapturedFrame image. Essentially, I want to ensure that the depth information corresponds precisely to the color image. Could someone please walk me through the steps or provide some code snippets on how to achieve this upscaling and alignment?
0
1
349
Sep ’23
Unable to use photo picker in app on only one iPad Pro device
We are in the midst of testing camera and photo/video access using iPadPro 17 Beta (21A5326a) from within our application, and we are encountering an error message on only one device (iPad Pro 12.9-inch, A2229). Full access to the camera roll has been explicitly granted to the application when prompted. On only the above device, attempting to select an existing photo results in this error popup: "Photo or Video Unavailable: This app is using the Photos picker in an unsupported configuration." (We are able to take and save new photos from within our application on this device with no issues.) I have a second device on hand (iPadPro 10.5-inch, A1701) that presently also has the same iPadOS version installed and is running the same application, and we are able to select existing photos and take new photos with no errors. I have compared the Photos settings on both devices, and they appear to be identical. On a third iPad device running with the same iPadOS version, application, and Photos settings (that device is not in my possession), it has been reported that no errors are encountered when either taking new photos or selecting existing photos via the Photo Picker from within our app. We are trying to figure out what might be causing this error to appear when selecting existing photos on only the A2229 device, and/or what aspect of the configuration or settings would need to be modified in order to use the photo picker on that one iPad Pro. This issue had not been encountered on the A229 device while running with iPadOS 16. Searching the text of this error message online has not returned anything significantly meaningful thus far.
4
0
845
Apr ’24
After initializing the OS, the AirPrint API always prints on duplex when printing for the first time.
I want to use the AirPrint API, which is a standard OS printing function, programmatically on an iOS application to print directly to a printer by specifying single-sided printing instead of double-sided printing for the first print after the OS is initialised. 〇Verification environment ・Device: iPad 9 generation ・OS:OS16.6 ・Printer model: EPSON PX-S730 / Brother MFC-J7300CDW / Canon G5030 / EPSON PX-M791FT ※All printers used for verification support AirPrint and are capable of duplex printing. 〇Issue The duplex printing option can be specified from the program using the AirPrint API property "duplex", However, when printing is executed from the program, the specified print option "duplex printing" is not reflected in the AirPrint API. 〇Verification results Installed the developed print verification app on the device in factory default state, and executed the print process from the app to the printer. (1st time) Set the property "duplex printing" = duplex or single-sided in the AirPrint API of iOS → In both cases, printing was performed on both sides. (2nd and subsequent times) Set the property "duplex printing" = duplex or single-sided in the AirPrint API of iOS → In both cases, printing is done on one side. 〇Source Code The print verification application we developed uses the UIPrintInteractionController class in Swift to specify the printing options for duplex printing. We believe we can specify this by setting "info.duplex = UIPrintInfo.Duplex.none" in the following source code and adding it to printInfo. func buttonClick(_ sender: Any) { let printController = UIPrintInteractionController.shared let printInfo = UIPrintInfo(dictionary: nil) printInfo.jobName = "PrintJob from PrintTestApp" // color printInfo.outputType = UIPrintInfo.OutputType.general // duplex mode for the print printInfo.duplex = UIPrintInfo.Duplex.none // set the single side option printController.printInfo = printInfo // PDF printing in project folder printController.printingItem = Bundle.main.url(forResource: "sample", withExtension: "pdf")! // printer settings let printer = UIPrinter(url: URL(string: "ipps://XXXXXXX/ipp/print")!) // direct printing printController.print(to: printer, completionHandler: { controller, completed, error in guard error == nil else { return } }) }
0
0
840
Aug ’23
iPados 17 beta 5 fail
I did an automatic upgrade, plugged into Imac, and wifi active. Now im stuck on "Press hom to upgrade". After I press home, it asks for password and it does not accept any of my passwords. Force restart does nothing. Any ideas? Oh and when I plug the iPad into the Imac, it tells me that new software is needed, but then it says no relevant software is available on the app store.
0
0
337
Aug ’23
How do I detect whether an iPad's camera location is landscape or portrait?
The 10th-Gen iPad differs from its predecessors by having a camera that's located at the top of its landscape orientation. This is a headache for me since my app needs to know the rough camera location given the device's orientation for AR purposes. I can find out whether the device is a tablet or not, but I can't find out whether it's an iPad 10. Are there any direct or indirect ways for me to find out whether a camera is placed for portrait or landscape use?
0
0
495
Aug ’23
How to make my iPhone app view on an iPad
my app was rejected by this reason: While we appreciate that your app is intended primarily for use on iPhone, in order to bring your app into compliance with App Store guidelines, all apps designed for use on iPhone must still be formatted correctly and behave properly when run on iPad. How can I solve this problem without adding iPad as a destination in Xcode.
2
0
432
Aug ’23
How to get full raw data of barcode using AVFoundation framework
I am creating a barcode reader using the AVfoundation framework for iOS and IPadOS. The read result goes into payloadstringvalue, but I want to check the control characters contained in the symbol, so I am using the raw data of the description, which is a property of NSObjectProtocol inherited by VNBarcodeObservation. However, I noticed that if the length set in the raw data exceeds 26, some of the raw data in the description is omitted. So my question is, is it possible to set it so that all the raw data in the description is written out without omitting any raw data? If so, could you please tell me how to set this up? Also, if you know of any other way to extract the raw barcode data, I would appreciate it if you could let me know. Thank you.
0
0
403
Aug ’23
Issue: window.innerHeight is incorrect in Safari iPhone/iPad
I'm working on an .html file. On Safari iOS/iPad, when testing on my local web server I get correct values for window.innerHeight. However when uploading to a dev/prod environment innerHeight is incorrect (so the elements in the page do not fit the screen). Testing on ipad air 3rd gen, IpadOS 16.5.1 I get these values for window.innerHeight : local server, navigation bar only (landscape): 764 => correct local server, navigation bar and tab bar (landscape): 731=> correct dev/prod environment, navigation bar only (landscape): 795 => incorrect dev/prod environment, navigation bar and tab bar (landscape): 795 => incorrect I have a similar issue when testing on portrait. InnerHeight is bigger than it should be and doesn't change when the tab bar is open. QA team also tested on Iphones and gets the same issue. Tried alternatives (visualViewport.height, 100vh, documentElement.clientHeight...they all are incorrect on a real environment)
1
0
1.3k
Aug ’23
Can't reset my old iPad2 (iCloud log in problem)
Hi everyone, I have an old iPad 2 which I want to reset but it has the "find my iPad" turned on; the problem is that if I try to insert the id apple password, it gives me a connection error. The device is connected to the internet, I tried the browser and it works. I even tried to reset the iPad using the Mac, but it requires the iCloud password on the device... I turned off "find my iPad" on the iCloud website, but in order to be effective, the ipad needs to logging in on iCloud and I can't do it. Are there other ways to achieve the reset? Thank you so much
1
0
577
Aug ’23