Discuss hardware-specific topics related to iPad.

Posts under iPad tag

126 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

xcode project (for ios) - ipa file generated on jenkins machine is working fine ,but crashing if created using fastlane on a different machine
Hello , We have an ios application project that is developed on xcode. While generating the ipa file from jenkins job , the app is working well. We tried using fastlane on a different machine , the app works well on IPAD which is created from one of the macbook machine . But same fastlane steps , when we following from gitlab pipeline on same machine, the ipa file gets generated successfully and also gets deployed to testflight successfully . But app is crashing on ipad. We tested development IPA as well on following machines with specified configuration. Macmini ( local and gitlab - both build fails ) xcode version : 14.3.1 macos version : 13.4.1 swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0 code signing certificate : apple development cert fastlane version : 2.214.0 Mabook ( local build works, gitlab build fails ) xcode version : 14.3.1 macos version : 13.4.1 swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0 code signing certificate : apple development cert fastlane version : 2.214.0 Jenkins (works well) xcode version : 14.3.1 macos version : 13.2.1 swift-driver version: swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) Target: x86_64-apple-macosx13.0 code signing certificate : apple development cert From above configuration, we can see versions used for xcode and macos are all same . And steps followed are also same . We are trying to figure out why app built on one machine crashes ,while other is working well. Please help us understand the cause . I will be appreciative for response on this issue. Thanks and Regards, Anjali Tandel
0
0
464
Oct ’23
iPad parent child refreshing issue - onAppear is NOT getting called every single time.
This code works well in iPhone but not on iPad. In iPad, although the "Selected topic" text in TopicDetailView changes with every list selection, **onAppear is NOT getting called every single time. ** I need to do some backend operation on onAppear here. What am I doing wrong here? At first it looks like working fine, but go backward tapping in list, random tapping, every time, "selected topic " changes, but NOT every time onAppear gets called. I must have the onAppear called every time to run backend operations. I have latest devices, simulators, Xcode as of today. I cannot use NavigationStack as I need to support ios15.0 onwards import SwiftUI struct TopicsView: View { var topics = ["Topic1","Topic2","Topic3"] var body: some View { NavigationView { List(topics, id:\.self ) { topic in NavigationLink( destination: TopicDetailView(topic: topic).id(UUID()) ) { Text(topic) } } } } } struct TopicDetailView: View { var topic: String var body: some View //body{ { VStack{ Text("Selected topic \(topic)") } .onAppear(){ print("on appear on topic \(topic)") } .onChange(of: topic){ v in print("on change to topic \(v)") } } } struct ContentView: View { var body: some View { TopicsView() } }
4
0
450
Oct ’23
iPhone iPad and HomePod ios17 ipados17 Siri not working
I have updated all devices (iPhone 14 Pro Max, iPad Pro 12” 3th gen, HomePod 1st gen) to the latest version. Since I have updated to 17, when I say “Hey Siri“ all of them turns on to listen but immediately all of them stops thinking the other devices listens. with the previous versions when I say “hey siri” all the devices listen but when they detect a HomePod was active listening the iPhone and the iPad stops listening letting the HomePod take the control. sorry for my English, but I think it’s understandable 🤔😊 im just the only one who happens this?
1
0
492
Sep ’23
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
iPAD Pro External Camera
Hi, I was trying to configure people with the iPAD as a primary system. They got the apple keyboard, mouse, and an external monitor 36in. However the external camera via USB or bluetooth cannot be used for FaceTime, Webex, Zoom, Teams, etc. It always default to Apple camera. Is there a way to get an external camera and apps to recognize as the primary camera on an iPAD. Thanks
1
1
1.2k
Sep ’23
Screenshots - Changing Device Order
Hi all I am sure that this is something obvious that I am missing but I would really appreciate a bit of help. In our App Store listing, the screenshots appear as a default under 'iPad' first, then followed by iPhone. The description also defaults to 'Designed for iPad'. Is there a simple way to change this so that we can show iPhone first? Also, simply for my on-going reference and knowledge, why would the listing default to iPad before iPhone? Many thanks to all.
3
0
937
Sep ’23
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
MediaRecorder stop event is not trigger on safari iOS
I'm trying to record my screen (canvas) on iPad safari with the new experiential media recorder support. I got the mediaRecorder object and it triggers the start event but the issue is whenever mediaRecored record blob it will not trigger the stop event. It is working fine of MAC Safari but on iPad Safari I'm getting this issue. Is there any ways to get the stop event so mediaRecorder fire ondataavailable method after stop on iPad Safari?
3
0
2.0k
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