I have a few UI Tests in my app, and some of them access the tab bar, for instance: XCUIApplication().tabBars.element.buttons.element(boundBy: tabBarButtonCount - 1).tap()
In Xcode 16 though, when performing tests on iPad, this fails, likely due to the new tab bar. How am I supposed to perform this kind of action in iPadOS 18?
Posts under iPad tag
118 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I have a TabView with individual tabs containing NavigationSplitViews. On iPadOS 18, when moving the new UI into a sidebar, the title of the first column in the current split view randomly spins its way in and out of view. Is this just a beta bug, or am I doing something wrong? Hard to convey without a recording, but hopefully the screenshots will show what I mean. Thanks.
I updated to the IOS 18 Beta and my Apple pencil won’t work on my device at all. I detach and reattach it and it recognizes its power level but it won’t write or highlight.
Hello,
I have an iPad app that users are running on their M1 / M2 MacBooks thanks to the "Designed for iPad" feature.
Some of them reported to me that the pressed keyboard keys were not recognized.
According to my source code, it seems that my custom views (that are set as firstResponder) do not get pressesBegan events.
While I could not reproduce this specific problem on my M1 Macbook, I found a strange problem that may be related.
My view also supports interaction with game controllers.
I found that the emulated controller (which is using the keyboard, when the controller emulation feature of the Designed for iPad app is set to On) has some problems.
The valueChangedHandler of the GCExtendedGamepad from the GCGameController is only fired if the app is compiled with the "Requires full screen" option set to On.
If Requires full screen is unchecked in XCode, the Emulated Controller is still present in the list of game controllers, but no button callbacks are triggered.
Note that a real game controller connected via USB will work correctly no matter how Requires full screen is set.
Could there be a focus bug of the keyboard not sending events when the app is not a full screen app (resizable on mac, and multitask on iPad)?
Or is there something I can change to avoid this problem?
I'm lost.
I have an iPad Pro 12.9". I am looking to make an app which can take a simultaneous audio recording from two different microphones at the same time. I want to be able to specify which of the 5 built-in microphones each audio stream should use - ideally one should be from the microphone on the left side of the iPad, and the other should be from one of the mics at the top of the iPad. Is this possible to achieve with the API?
The end goal here is to be able to use the two audio streams and do some DSP on the recordings to determine the approximate direction a particular sound comes from.
I have a mobile application accepted in the app store, and want to restrict access to ONLY iPhone. I have turned off access for macOS and visionOS, but cannot find a way to restrict access on iPads. Is there a way to do this without or with a new build?
App is Xcode swiftUI on iPad using textview. The cursor is invisible yet it moves "underneath". How to make it visible. The app textview input is button characters and coexists with a Magic Keyboard where the cursor is visible.
I just got the iPad air 5th gen and also the Apple Pencil 2nd Gen and right when I started using the scribble function, I would get random static lines along the lettering or random parts of the screen. it only appears when I'm waiting and doesn't affect the actual things I'm writing. The iPad also automatically updated to the beta version of ios 18 because my iPhone
is also on the beta. Is anyone else having this issue?
Greetings to all!
I recently developed an called DANZUB, the hub for dancers using the Adalo no-code tool. The App from adalo was directly imported into TestFlight on App Store Connect. When I released it for review, I got a rejection that app was not supported (display scale issue) on Ipad. I have primarily designed for IPhones and I do not know how I can adjust to IPads as well. I don't have this option on Adalo.
Some said I could change the settings in XCode. But I don;t have the file, because the file was directly exported from Adalo to App Store Connect. I am unable to download the file.
Please help, I am new to developing. So close yet so far. Thanks all!!
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.
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
IpadOS18.0 在主屏幕上有一个错误。请做好准备。只有一种方法可以解决它---重新启动系统。
See FB13917278 (App Becomes Unresponsive for iOS/iPadOS 18 Regular Size Class Interactions When Selecting One Particular View in Sidebar).
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.
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?
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.
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()
}
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");
}
}
}
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?
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.)