Discuss hardware-specific topics related to iPad.

Posts under iPad tag

200 Posts

Post

Replies

Boosts

Views

Activity

SwiftUI DropDelegate + Scrollview auto scroll while reshuffle the item outside of scrollview bounds
We have a feature requirement where we need to use LazyVGrid and DropDelegate. Our view hierarchy is as follows: Color.white.ignoresSafeArea() VStack(spacing: 0) { customNavigationView ScrollView(showsIndicators: true) { LazyVGrid(columns: columns, alignment: .center, spacing: 16) { ForEach(viewModel.selectedReferences, id: \.self) { item in ZStack { Rectangle() .fill(Color.yellow.opacity(0.5)) Text(item.title) } .frame (height: 120) .background(Color.white) .padding([.leading, .trailing], 4) .overlay((draggedItem?.uuid == item.uuid && changedView) ? Color.white.opacity(0.8) : Color.clear) .clipShape(RoundedRectangle(cornerRadius: 16, style: .continuous)) .onDrag { initialIndex = viewModel.selectedReferences.firstIndex { $0 == item } draggedItem = item changedView = false return NSItemProvider(object: String(item.uuid) as NSString) } .clipShape(RoundedRectangle(cornerRadius: 16, style: .continuous)) .onDrop(of: [UTType.text], delegate: DragRelocateDelegate(item: item, listData: $viewModel.selectedReferences, current: $draggedItem, changedView: $changedView) { endIndex in }) } } .animation(.default, value: viewModel.selectedReferences) } .frame(width:(UIScreen.main.bounds.width)) .onDrop(of: [UTType.text], delegate: DropOutsideDelegate(current: $draggedItem, changedView: $changedView)) bottomBarView } .frame(maxWidth: .infinity) } While performing a reshuffle, auto-scroll works within the bounds of the ScrollView content. However, according to the feature requirement, auto-scroll should also work when we place an uplifted view at the top or bottom of the view. STEPS TO REPRODUCE Launch the demo. Scroll to the bottom of the LazyVGrid. Pick any item using the DropDelegate. Try to place that uplifted view on the custom navigation view. Expected Result: The ScrollView should auto-scroll. Actual Result: Auto-scroll is not working.
0
0
600
Jun ’24
Wake Up iPad from sleep into single app mode by BLE and Network
Hi, we actually have an application where we use iPad to run a WEB Application to display multiple Entertainment/Information content and control Infrastructure. The device is usually connected to a base station (own design) using BLE und USB only for power, is locked in single App Mode using MDM. As long as the App is open it is working fine. But now we like to go to the next step and like to have the device movable and use power save. How can we achieve the iPad wakes up immediately from sleep mode (directly to the app) if somebody is pressing a button on the base station (we support Comm Port, and HID Keyboard service, we can change code on base station if needed). And how can we achieve the same over Network (Wi-Fi or Ethernet with Adapter, Internet access is not always available). May set a state on the MQTT broker and tablet should wake up from sleep. Thanks for feedback Patrik
3
0
915
Jun ’24
How to take back the control of our application ?
Good afternoon, I'm not used to the Apple tools and programms. We encountering the following issue : We have a zip file with an ipa file. According to our service provider, the Zip file contains the ios application which is presently already running on IOS (iphone, Ipad), only on the iphones and ipads of our team. The application is linked to the apple developer account of our service provider. Presently, this is the process we use to add the application on an IOS tools : We send the UDID of the tool to our service provider who generate an ipa file from the application. We put the ipa file in the following website : https://www.diawi.com/features-services The website give us an QRCode which we need to scan with the IOS tool, then, we have a pop-up on the tool for installing the application. It seems to be the process describing there : https://support.apple.com/fr-fr/guide/deployment/depce7cefc4d/web. As we won't work with our service provider anymore, we need to take back the control of the management of this application. We need to open the files in the .zip and we may have to modify them. I need some help to understand how to open them. I've tried on Xcode unsuccessfully. Could you please help to understand how to open and modify the application, linked it to our Apple developer account and distribute it to our employees or put it in the apple store ? Best regards.
2
0
826
Jun ’24
SwiftUI Custom Card hoverEffect() Rounded Corners
Hi all, I am currently working on a user interfacing using SwiftUI where I have created custom button cards which have a mask modifier containing a RoundedRectangle with a corner radius of 15. The cards are displayed properly in the interface but when hovering over card with the iPad cursor using the hoverEffect() modifier or tapping and holding to show a context menu the corners aren't rounded and you can see a space where the rounded corners should be. Thanks! Here is the code for the custom card. var body: some View { Button(action: {}) { ZStack { Color("MainColor") VStack(spacing: 20) { Spacer() Text("Card content here") .font(.largeTitle) .bold() Spacer() } .padding() } } .contentShape(RoundedRectangle(cornerRadius: 15, style: .continuous)) .buttonStyle(.plain) .mask(RoundedRectangle(cornerRadius: 15)) .contextMenu { Button(action: {}) { Label("Edit", systemImage: "pencil") } Button(role: .destructive) { // Edit goes here } label: { Label("Delete", systemImage: "trash") } } .hoverEffect() }
2
0
912
Jun ’24
nw_proto_tcp_route_init [C6:3] no mtu received
We have a relatively simple app that using Network.Framework, NWConnection, NWEndpoint to setup TCP connections with nearby devices also using the app. It's actually been working great for a while now but we've recently noticed with iOS 17.4/17.4.1 that we're spontaneously getting: nw_proto_tcp_route_init [C6:3] no mtu received sometimes the [C6:3] will be [C7:3] or another similar code. We may also occasionally see No route to Host appear in our console logs though this isn't definite. After this point the connection is effectively lost but we don't actually receive any updates on our NWConnection stateUpdateHandler to action on. It's sort of dead in the water so to speak. We've reproduced this issue with multiple devices on iOS 17.4.x and in multiple network settings (in office, cafe, home networks...etc). Nothing seems to make a difference. Any ideas on how to fix or workaround this? I saw a similar issue here: https://developer.apple.com/forums/thread/669519 but the original author never followed up and it's around 3 years old. I've captured a sysdiagnose log and can submit an issue if it warrants filing a bug report.
5
2
1.1k
May ’24
Login with iPad Air works in Simulator but Apple says it doesn't
Device type: iPad Air (5th generation) OS version: iOS 17.5 I don't know what to do.. I am using Firebase for auth and it work on every device. Except for the iPad Air. Does somebody have a similar issue? try { String email = _emailController.text; String password = _passwordController.text; if (EmailValidator.validate(email)) { await _auth.signInWithEmailAndPassword( email: email, password: password); } else { print("Ungültige E-Mail-Adresse"); } } catch (e) { print("Anmeldefehler: $e"); } } }
0
0
562
May ’24
Website Header Disabled In Mcbook
Hy my name is zubair and i a blogger. I have recently create a website on gold price in oman url omangoldprices.com I maked a well design header footer and every thing as compared with my competitors but the header of my website disabled and not working on Macbook and macbook pro and the logo does not showing on IOS version Iphone 6 12.6.1. I am very comfused about that can anyone help me in?
0
0
727
May ’24
Unable to setup M4 iPad Pro for development using Xcode 15.4 (15F31d) and iOS 17.5 (21F84)
When I try to setup my new 13" iPad Pro for development with Xcode I get the following error. Previous preparation error: The developer disk image could not be mounted on this device.. Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) I have tried many times and tried multiple things like reseting the iPad and starting again. Rebooting both devices. Deleting ~Library/Developer/DeveloperDiskImages Still nothing. This is quite frustrating. Any help appreciated. Ben
2
0
1.3k
May ’24
Xcode <-> iPad M4: The server declined to authorize this image on this device for this user.
Hi, I just got my new iPad Pro 11-inch, M4. I'm trying to hook up with Xcode 15.4 (latest) and got this error message. Previous preparation error: The developer disk image could not be mounted on this device.. Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) Has anyone experienced the same problem? any ideas? I've tried all sorts of things suggested online (including completely reinstalling Xcode and the iPad - Clearing trusted computers - restarting everything etc.)
1
1
1.1k
May ’24
Unable to deploy to new M4 iPad Pro
Using the latest stable macOS/iPadOS/Xcode: macOS 14.5 (23F79) iPadOS 17.5 (21F84) Xcode 15.4 (15F31d) We're unable to deploy to the new iPad Pro devices. This applies to newly created empty projects as well. We receive the following message: The developer disk image could not be mounted on this device.. Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) We've tried every suggestion we can find online: Restarting everything Reinstalling everything rm -rf ~/Library/Developer/DeveloperDiskImages/ Turning on/off Developer Mode. Using various internet connection methods (to sidestep potential routing/firewall issues) It happens across all our developer accounts we've tried 5+, and all iPads tried thusfar (around 5).
6
0
1.2k
May ’24
Room not to scale
Hello, I am working on an AR application to visualize a life-size room. I am working with Unity 2023.3, Apple ARKIT XR Plugin 6.0.0-pre.8 and a 2021 5th gen iPad. First I scan a room with roomplan to get a usdz file. I open it with Blender to make sure I have the right data (I do) and I export it to fbx to use it in Unity. Then I import the fbx to Unity and I use it as a prefab to instantiate it when I click on a detected floor. I build my application in Unity, then in Xcode to use it on my iPad. But when the room is displayed, it is way too small. I tried adding a slider to scale up the room's gameobject and I added a plugin to visualize my Unity scene in my built application. The room is scalling up in the Unity scene but not in the application. Does anyone ever had this issue and if so how did you fix that? Best regards, Angel Garcia
0
0
655
May ’24
iPad 13'' Display couldn't get
I'm in the process of submitting an app to the App Store and am preparing screenshots for various display sizes. I noticed that there's an option for a 13'' display, which corresponds to the new iPad Air. However, I can't find a simulator for the 13'' iPad Air in my XCode. Is it mandatory to upload screenshots for this size, or can I omit them? Additionally, how can I download the simulator for the new iPad Air? Thanks!
1
0
906
May ’24
The iOS APP is that after three minutes or more in the background, When entering the foreground, it will be restored from the back to the background page instead of restarting.
Our current status is that after three minutes or more in the background, re-opening the app is a restart. Most of the users are claiming that they were automatically redirected to the home page of our app after a certain period of inactivity in the app. I recently upgraded my Xcode version from 12.4 to 15.3. I did not experience the problem with Xcode 12.4. It is an enterprise application, and the majority of users report restart issues. It occurred at random, and the user device contained only our application, with no other app like entertainment or gaming apps. However, I notice that many other apps are running in the background for an extended period of time (such as 20 minutes or 30 minutes). When I open the app, the same page sometimes appears in the background or the app is refreshed (like, Medium) I am not sure how they do it; I follow Apple. The rules did not do anything after entering the background. Is there anything Apple could do? How can I resolve this issue? Or it is default iOS behaviour. Please provide any documentation related to this. Please help me resolve this issue. Note: iOS device Version 15 to 17 is the latest
0
0
734
May ’24
SwiftUI DropDelegate + Scrollview auto scroll while reshuffle the item outside of scrollview bounds
We have a feature requirement where we need to use LazyVGrid and DropDelegate. Our view hierarchy is as follows: Color.white.ignoresSafeArea() VStack(spacing: 0) { customNavigationView ScrollView(showsIndicators: true) { LazyVGrid(columns: columns, alignment: .center, spacing: 16) { ForEach(viewModel.selectedReferences, id: \.self) { item in ZStack { Rectangle() .fill(Color.yellow.opacity(0.5)) Text(item.title) } .frame (height: 120) .background(Color.white) .padding([.leading, .trailing], 4) .overlay((draggedItem?.uuid == item.uuid && changedView) ? Color.white.opacity(0.8) : Color.clear) .clipShape(RoundedRectangle(cornerRadius: 16, style: .continuous)) .onDrag { initialIndex = viewModel.selectedReferences.firstIndex { $0 == item } draggedItem = item changedView = false return NSItemProvider(object: String(item.uuid) as NSString) } .clipShape(RoundedRectangle(cornerRadius: 16, style: .continuous)) .onDrop(of: [UTType.text], delegate: DragRelocateDelegate(item: item, listData: $viewModel.selectedReferences, current: $draggedItem, changedView: $changedView) { endIndex in }) } } .animation(.default, value: viewModel.selectedReferences) } .frame(width:(UIScreen.main.bounds.width)) .onDrop(of: [UTType.text], delegate: DropOutsideDelegate(current: $draggedItem, changedView: $changedView)) bottomBarView } .frame(maxWidth: .infinity) } While performing a reshuffle, auto-scroll works within the bounds of the ScrollView content. However, according to the feature requirement, auto-scroll should also work when we place an uplifted view at the top or bottom of the view. STEPS TO REPRODUCE Launch the demo. Scroll to the bottom of the LazyVGrid. Pick any item using the DropDelegate. Try to place that uplifted view on the custom navigation view. Expected Result: The ScrollView should auto-scroll. Actual Result: Auto-scroll is not working.
Replies
0
Boosts
0
Views
600
Activity
Jun ’24
bugs
IpadOS18.0 在主屏幕上有一个错误。请做好准备。只有一种方法可以解决它---重新启动系统。
Replies
1
Boosts
0
Views
837
Activity
Jun ’24
Wake Up iPad from sleep into single app mode by BLE and Network
Hi, we actually have an application where we use iPad to run a WEB Application to display multiple Entertainment/Information content and control Infrastructure. The device is usually connected to a base station (own design) using BLE und USB only for power, is locked in single App Mode using MDM. As long as the App is open it is working fine. But now we like to go to the next step and like to have the device movable and use power save. How can we achieve the iPad wakes up immediately from sleep mode (directly to the app) if somebody is pressing a button on the base station (we support Comm Port, and HID Keyboard service, we can change code on base station if needed). And how can we achieve the same over Network (Wi-Fi or Ethernet with Adapter, Internet access is not always available). May set a state on the MQTT broker and tablet should wake up from sleep. Thanks for feedback Patrik
Replies
3
Boosts
0
Views
915
Activity
Jun ’24
iPad boot looping on iPadOS 18
Hey there, I updated to the iPadOS 18 developer beta on my iPad 9th generation the other day when it released. It started restarting my device after a few minutes of using any app, and now it just boot loops. I’m just wondering if there’s any fix for this or if my iPad is just bricked now.
Replies
3
Boosts
1
Views
830
Activity
Jun ’24
Question about new Eye-tracking feature in iPadOS 18
Hello everyone. Is iPadOS18’s Eye-tracking feautre available on iPad Pro 12.9” 2018? If not, where can I find the compatible devices where Eye-tracking available?
Replies
1
Boosts
0
Views
2.9k
Activity
Jun ’24
How to take back the control of our application ?
Good afternoon, I'm not used to the Apple tools and programms. We encountering the following issue : We have a zip file with an ipa file. According to our service provider, the Zip file contains the ios application which is presently already running on IOS (iphone, Ipad), only on the iphones and ipads of our team. The application is linked to the apple developer account of our service provider. Presently, this is the process we use to add the application on an IOS tools : We send the UDID of the tool to our service provider who generate an ipa file from the application. We put the ipa file in the following website : https://www.diawi.com/features-services The website give us an QRCode which we need to scan with the IOS tool, then, we have a pop-up on the tool for installing the application. It seems to be the process describing there : https://support.apple.com/fr-fr/guide/deployment/depce7cefc4d/web. As we won't work with our service provider anymore, we need to take back the control of the management of this application. We need to open the files in the .zip and we may have to modify them. I need some help to understand how to open them. I've tried on Xcode unsuccessfully. Could you please help to understand how to open and modify the application, linked it to our Apple developer account and distribute it to our employees or put it in the apple store ? Best regards.
Replies
2
Boosts
0
Views
826
Activity
Jun ’24
SwiftUI Custom Card hoverEffect() Rounded Corners
Hi all, I am currently working on a user interfacing using SwiftUI where I have created custom button cards which have a mask modifier containing a RoundedRectangle with a corner radius of 15. The cards are displayed properly in the interface but when hovering over card with the iPad cursor using the hoverEffect() modifier or tapping and holding to show a context menu the corners aren't rounded and you can see a space where the rounded corners should be. Thanks! Here is the code for the custom card. var body: some View { Button(action: {}) { ZStack { Color("MainColor") VStack(spacing: 20) { Spacer() Text("Card content here") .font(.largeTitle) .bold() Spacer() } .padding() } } .contentShape(RoundedRectangle(cornerRadius: 15, style: .continuous)) .buttonStyle(.plain) .mask(RoundedRectangle(cornerRadius: 15)) .contextMenu { Button(action: {}) { Label("Edit", systemImage: "pencil") } Button(role: .destructive) { // Edit goes here } label: { Label("Delete", systemImage: "trash") } } .hoverEffect() }
Replies
2
Boosts
0
Views
912
Activity
Jun ’24
nw_proto_tcp_route_init [C6:3] no mtu received
We have a relatively simple app that using Network.Framework, NWConnection, NWEndpoint to setup TCP connections with nearby devices also using the app. It's actually been working great for a while now but we've recently noticed with iOS 17.4/17.4.1 that we're spontaneously getting: nw_proto_tcp_route_init [C6:3] no mtu received sometimes the [C6:3] will be [C7:3] or another similar code. We may also occasionally see No route to Host appear in our console logs though this isn't definite. After this point the connection is effectively lost but we don't actually receive any updates on our NWConnection stateUpdateHandler to action on. It's sort of dead in the water so to speak. We've reproduced this issue with multiple devices on iOS 17.4.x and in multiple network settings (in office, cafe, home networks...etc). Nothing seems to make a difference. Any ideas on how to fix or workaround this? I saw a similar issue here: https://developer.apple.com/forums/thread/669519 but the original author never followed up and it's around 3 years old. I've captured a sysdiagnose log and can submit an issue if it warrants filing a bug report.
Replies
5
Boosts
2
Views
1.1k
Activity
May ’24
Login with iPad Air works in Simulator but Apple says it doesn't
Device type: iPad Air (5th generation) OS version: iOS 17.5 I don't know what to do.. I am using Firebase for auth and it work on every device. Except for the iPad Air. Does somebody have a similar issue? try { String email = _emailController.text; String password = _passwordController.text; if (EmailValidator.validate(email)) { await _auth.signInWithEmailAndPassword( email: email, password: password); } else { print("Ungültige E-Mail-Adresse"); } } catch (e) { print("Anmeldefehler: $e"); } } }
Replies
0
Boosts
0
Views
562
Activity
May ’24
Website Header Disabled In Mcbook
Hy my name is zubair and i a blogger. I have recently create a website on gold price in oman url omangoldprices.com I maked a well design header footer and every thing as compared with my competitors but the header of my website disabled and not working on Macbook and macbook pro and the logo does not showing on IOS version Iphone 6 12.6.1. I am very comfused about that can anyone help me in?
Replies
0
Boosts
0
Views
727
Activity
May ’24
iPad Pro 13" screenshots for the App Store
I see that there's an updated requirement for iPad screenshots (iPad 13"), but there's no info on the screenshot specs page and the device bezels are outdated
Replies
2
Boosts
0
Views
2.3k
Activity
May ’24
Unable to setup M4 iPad Pro for development using Xcode 15.4 (15F31d) and iOS 17.5 (21F84)
When I try to setup my new 13" iPad Pro for development with Xcode I get the following error. Previous preparation error: The developer disk image could not be mounted on this device.. Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) I have tried many times and tried multiple things like reseting the iPad and starting again. Rebooting both devices. Deleting ~Library/Developer/DeveloperDiskImages Still nothing. This is quite frustrating. Any help appreciated. Ben
Replies
2
Boosts
0
Views
1.3k
Activity
May ’24
Xcode <-> iPad M4: The server declined to authorize this image on this device for this user.
Hi, I just got my new iPad Pro 11-inch, M4. I'm trying to hook up with Xcode 15.4 (latest) and got this error message. Previous preparation error: The developer disk image could not be mounted on this device.. Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) Has anyone experienced the same problem? any ideas? I've tried all sorts of things suggested online (including completely reinstalling Xcode and the iPad - Clearing trusted computers - restarting everything etc.)
Replies
1
Boosts
1
Views
1.1k
Activity
May ’24
Unable to deploy to new M4 iPad Pro
Using the latest stable macOS/iPadOS/Xcode: macOS 14.5 (23F79) iPadOS 17.5 (21F84) Xcode 15.4 (15F31d) We're unable to deploy to the new iPad Pro devices. This applies to newly created empty projects as well. We receive the following message: The developer disk image could not be mounted on this device.. Error mounting image: 0xe8000105 (kAMDMobileImageMounterTATSUDeclinedAuthorization: The server declined to authorize this image on this device for this user.) We've tried every suggestion we can find online: Restarting everything Reinstalling everything rm -rf ~/Library/Developer/DeveloperDiskImages/ Turning on/off Developer Mode. Using various internet connection methods (to sidestep potential routing/firewall issues) It happens across all our developer accounts we've tried 5+, and all iPads tried thusfar (around 5).
Replies
6
Boosts
0
Views
1.2k
Activity
May ’24
Room not to scale
Hello, I am working on an AR application to visualize a life-size room. I am working with Unity 2023.3, Apple ARKIT XR Plugin 6.0.0-pre.8 and a 2021 5th gen iPad. First I scan a room with roomplan to get a usdz file. I open it with Blender to make sure I have the right data (I do) and I export it to fbx to use it in Unity. Then I import the fbx to Unity and I use it as a prefab to instantiate it when I click on a detected floor. I build my application in Unity, then in Xcode to use it on my iPad. But when the room is displayed, it is way too small. I tried adding a slider to scale up the room's gameobject and I added a plugin to visualize my Unity scene in my built application. The room is scalling up in the Unity scene but not in the application. Does anyone ever had this issue and if so how did you fix that? Best regards, Angel Garcia
Replies
0
Boosts
0
Views
655
Activity
May ’24
Saving data files between test runs on iOS
I am trying to save data files between runs of an iOS App from Xcode on a real iPad (not the simulator). NSHomeDirectory gives me a different directory every time I run the app on the iPad (from XCode). I cannot write a file on one run and then retrieve it on the next run. How do I get around this annoying problem?
Replies
1
Boosts
0
Views
750
Activity
May ’24
iPad 13'' Display couldn't get
I'm in the process of submitting an app to the App Store and am preparing screenshots for various display sizes. I noticed that there's an option for a 13'' display, which corresponds to the new iPad Air. However, I can't find a simulator for the 13'' iPad Air in my XCode. Is it mandatory to upload screenshots for this size, or can I omit them? Additionally, how can I download the simulator for the new iPad Air? Thanks!
Replies
1
Boosts
0
Views
906
Activity
May ’24
Xcode Full Version on iPad Pro M4
Will you be able to run the full version of Xcode on the new iPad Pro M4 on IPadOS?
Replies
4
Boosts
7
Views
4.1k
Activity
May ’24
New iPad identifier
What are the identifiers for these iPad models in 2024?
Replies
2
Boosts
0
Views
1.1k
Activity
May ’24
The iOS APP is that after three minutes or more in the background, When entering the foreground, it will be restored from the back to the background page instead of restarting.
Our current status is that after three minutes or more in the background, re-opening the app is a restart. Most of the users are claiming that they were automatically redirected to the home page of our app after a certain period of inactivity in the app. I recently upgraded my Xcode version from 12.4 to 15.3. I did not experience the problem with Xcode 12.4. It is an enterprise application, and the majority of users report restart issues. It occurred at random, and the user device contained only our application, with no other app like entertainment or gaming apps. However, I notice that many other apps are running in the background for an extended period of time (such as 20 minutes or 30 minutes). When I open the app, the same page sometimes appears in the background or the app is refreshed (like, Medium) I am not sure how they do it; I follow Apple. The rules did not do anything after entering the background. Is there anything Apple could do? How can I resolve this issue? Or it is default iOS behaviour. Please provide any documentation related to this. Please help me resolve this issue. Note: iOS device Version 15 to 17 is the latest
Replies
0
Boosts
0
Views
734
Activity
May ’24