Discuss hardware-specific topics related to iPad.

Posts under iPad tag

125 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

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
815
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
322
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
478
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
394
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
385
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.2k
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
549
Aug ’23
Specification for LiDAR sensor on iPhone Pro and negative impact to electrical devices
Hi, I'd like to inquire about the LiDAR sensor specifications for the iPhone Pro and iPad Pro. We are currently developing a 3D scanner app for construction sites and need to ensure that LiDAR does not cause any damage to electrical or telecommunication devices. I understand that LiDAR is a class 1 laser and considered safe for eye exposure. However, I'm concerned about its potential impact on electronics, such as noise or interference. For instance, could the LiDAR interfere with a fire alarm that uses a photon diode sensor, potentially leading to false alarms? I assume that fire alarms should have some form of shielding, but I am uncertain about this. In my research, I came across some information about LiDAR specifications in this discussion thread: https://developer.apple.com/forums/thread/131013. Additionally, there were some relevant blogs discussing the type of sensor it uses: https://www.techinsights.com/ja/node/33570. I also reached out to other manufacturers, as I believe ToF sensors might have similarities, but unfortunately, I haven't received a definitive answer yet. Any assistance on this matter would be highly appreciated. Thank you.
0
0
984
Jul ’23
SwiftUI toolbar item keyboard shortcut not showing when holding command key on iPad?
How come keyboard shortcuts associated to toolbar items do not show up when you hold down the command key? import SwiftUI struct ContentView: View { var body: some View { NavigationStack { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundStyle(.tint) Text("Hello, world!") Button { } label: { Text("Tap Me!") } .keyboardShortcut("o", modifiers: .command) } .padding() .toolbar { ToolbarItem { Button { } label: { Image(systemName: "bolt") } .keyboardShortcut("k", modifiers: .command) } } } } } See screenshot. The shortcut for "Tap Me!" is being shown but not the one for the toolbar item. Am I doing something wrong or this is just not supported yet in SwiftUI? If that's the case, that seems to be a significant omission.
2
0
919
Jul ’23
iPhone app showing Rotation button in iPad
We created iPhone app for portrait mode only. App is running fine in iPhone. but when we run the same app in iPad some time we are getting rotation button along with scale button. Rotation button is rotating app in landscape and our app is not support so UI is look bad. We want to disable rotation button forever. We search for setting which can be used enable/disable this rotation button but did not found. Check attached screen shot for reference.
1
0
415
Jul ’23
Connect Xcode 14.3 to Ipad OS 16.5 is not working
Hey all! Im trying to use my Ipad with my Xcode but its not working. Its saying "Failed to prepare device for development".Ive seen on sites where folks have said to reboot devices but thats not working for me. Also there is no 16.5 simulator that I can use for testing as well. Does anyone have any suggestions, trying to correct an issue within my code so I can send it for review. Blessings
0
0
500
Jul ’23
apple pencil won’t connect
hey! i have an ipad pro 11’ 2018, and everything was working fine until one day i wasn’t able to connect my apple pencil 2 to my ipad. the pencil itself gets detected it just won’t connect with my ipad. i already tried restarting, unpairing (even since i wasn’t able to pair it) and even restoring my ipad. does anyone have a solution for this?
1
1
611
Jan ’24