Post not yet marked as solved
Hello,
Does anyone know, how to programmatically detect top window in multi-window app on iPad? Especially in new overlapping window/Stage Manager environment?
Post not yet marked as solved
We have followed the below steps on iPad Air 2 having version 15.1:
We have add a home screen shortcut using safari browser.
We have clear the history and website data for safari browser
We have clicked the shortcut which we have created from safari browser
Now the dropdown is working fine but if we press home button and get back to the shortcut instance then dropdown is not showing
Some times dropdown list is showing blur on background.
If we clear the app in recent and pick the shortcut again without clearing the cache of safari browser then the dropdown working fine
We have attached the screen shot for the issue. This was happening only in IOS 15 alone lower versions this issue is not occurring
Can some one please look on it and provide me a solution to arrest the dropdown listing is not showing for the first time
Creating home screen shortcut
Clearing Cache
Open Shortcut and accessing dropdown for first time:
After press the home screen and again come back with the shortcut the dropdown is not working(Note: dropdown is shown blur some times)
NOTE: ALL ARE TAKEN FROM IPAD AIR 2 HAVING VERSION IO15
Thanks in advance.
Regards,
Sudharsan
Post not yet marked as solved
Since I’ve updated both my iPhone XR and my 6th gen iPad to iOS 14.2 I cannot connect any to my Boss KATANA-AIR Guitar amp via bluetooth any longer. Used to work fine before that. Anyone has experienced the same problem? Without bluetooth link it is impossible to switch libraries and the amp is useless.
Post not yet marked as solved
I was wondering if it is possible to use the bluetooth API on iPadOS to let an app become an emulated "bluetooth speaker/car". I want to make an app where an iPhone or Android phone can connect to it via bluetooth so the app can play the audio from the phone, and receive and handle calls just like a car can play audio and handle calls and display call information via bluetooth. I would also like to know if the app could also get contact information from the phone over bluetooth.
If it is possible to do so, how? I would love a friendly nudge in the right direction :)
Post not yet marked as solved
Hey everyone! I'm taking a look at all the new APIs and I'd really love to implement some forms in my app in a new window instead of in a sheet as I'm currently making them. Basically I have a couple of forms that gather data from the user and add new stuff to the database. I initially did this by using the new Window API and dismissing it via the dismiss action in the environment once the user clicks "Add", but when I try to create a new Window it seems like the view keeps its state and doesn't really gets re-created, which means that all the forms contain the previous values that I don't need anymore.
Is there any nice way to achieve this? I think that I can make this work by making it a WindowGroup and using the openWindow function that accepts a value and passing a new UUID every time, but I don't think this is a good idea since as mentioned on the talk these values get persisted.
Post not yet marked as solved
Our device continuously sends images to the iPad.
However, images are choppy because wifi power management is enabled on the iPad. I saw the same inquiry on another forum. However, it appears that no solution has been reached. How do I disable wifi power management?
There is another problem. This has been an issue since iPad OS 15 came out.
Whenever you make a Wi-Fi connection after a period of time, iPad drops the Wi-Fi connection. Once our device is disconnected, the safety system works and the connection cannot be restored. If you know how to solve this problem, please let me know.
Post not yet marked as solved
There is no documentation for running, debugging and testing system extensions on iPadOS16.
The WWDC 2022 session "Bring your driver to iPad with DriverKit" does not count because (as of beta 2) it is completely unreproducible.
This document tells us that to test our system extensions we must disable SIP so it's clearly only for macOS:
https://developer.apple.com/documentation/driverkit/debugging_and_testing_system_extensions
It would be nice if this document were updated with reproducible instructions for testing system extensions on iPadOS!
FB10427776
Post not yet marked as solved
In iPadOS, I'm building a tree on the screen using CALayer subclasses. Touching a visible node on the screen selects the node using CALayer.hitTest(CGPoint). This works reliably when I arrange the layers like this:
But when I rearrange the same CALayer objects to look like this, after an unpredictable number of touches on the a*b composite structure, the app dies with EXC_BAD_ACCESS:
Here is my code at the point of death. The LOOK HERE print statement just before invoking hitTest verifies that both layer and ksCGPoint have reasonable values.
Here is the stack trace:
Here is where the code actually dies in computeZ, which is called by CALayer.hitTest, which is invoked by VNode.touchesBegan, where VNode is a subclass of UIView.
Does anyone know what's going on here, or how to fix it?
Post not yet marked as solved
I need to detect right-clicks / two-finger clicks with a trackpad or mouse on an iPad inside an action extension.
I am finding that if I put a UITapGestureRecognizer in a view controller inside an action extension and set its allowedTouchTypes to UITouch.TouchType.indirectPointer, the gesture recognizer does not fire and none of the UIGestureRecognizerDelegate methods are ever called. The same code inside a standalone app works, just not in an action extension. This happens on both iPadOS 15.5 and iPadOS 16.
I can filed FB10296917 regarding this, but it seems odd enough that I wanted to ask here whether I might be missing something.
Post not yet marked as solved
Hi!
Is it possible to set different Display Scaling using the Xcode 14.0 simulator for iPadOS devices?
Thanks!
Post not yet marked as solved
is there a way let develop know an m1 pad has connected an external display?
if this pad is not in mirror-display mode, can I show two different window from one app in two screens?
Hi,
Our application is currently crashing in production, only for users with iPhone and iPad running iOS and iPadOS 15 through all releases. Unfortunately, we cannot reproduce the issue, neither through direct build from Xcode or using build from app store, so it seems to happen intermittently.
From third party crash analytics, it seems to happens mostly of background and they highlighted this as the issue.
Fatal Exception: NSInvalidArgumentException
-[_NSXPCDistantObject cleanupWithCompletionHandler:]: unrecognized selector sent to instance 0x2813293b0
From the Xcode crashlogs, it highlighted this which intrigue me a bit and it also exists on the stack trace from the third party (you can see they call a same function __cleanupWithCompletionHandler there).
5 Pegasus __58-[PGPictureInPictureProxy __cleanupWithCompletionHandler:]_block_invoke
It seems that the crash happens probably because some process related to PIP feature that triggered this function that is handled by Pegasus framework.
Any idea why this happens and is there anything i can do to prevent the crashes from happening again ?
crash-log-iOS-15.crash
Post not yet marked as solved
Is it possible for an ipadOS app running in the background to receive the key down/up event from an external keyboard?
Post not yet marked as solved
I have iPhone and iPad apps ported for M1. I would like to disable the window maximize/fullscreen button. How do I do that?
Post not yet marked as solved
Recently received quite a number of crashes, and notice from the crash log it seems related to CFNetwork. In the crashed thread's stack trace, I do not see any of my application code involved.
GA.crash
Post not yet marked as solved
iPadOS apps running via Catalyst on macOS now insert a tab character in UITextField when the tab is typed. When running in macOS 12.2 typing a tab character focused on the next UITextField.
The same code/app running on iPadOS (device or simulator) responds by focusing on the next UITextField when a tab is typed.
Was this a purposeful change in Catalyst? I have not been able to find anything that talks about this. And it is impacting the usability of our app in cases where we have multiple UITextFields present.
Post not yet marked as solved
Can another app window opens in Stage Manager when another apps' "UIRequiresFullScreen = TRUE" ?
It seems that there is a limitation in the beta released yesterday...
Not sure it's a bug or sth... Open only 1 app in windowed-screen once seems stupid
Post not yet marked as solved
I'm in the process of building a SwiftUI app with a Sidebar and Detail View. I've run into some issues and I need some help fixing them:
When the app is launched, my detail view shows up at the right of the sidebar. Great! However, the button that is supposed to navigate to that view isn't highlighted, which could cause user confusion. How do I make this button "light up" (with that blue background indicating to the user that it is selected, highlighted) and make the code so that this view opens up when the app opens (like in other Apple apps, see Music and Files)
When I click on one of my sidebar items (which are just NavigationLinks), the background doesn't turn blue (highlight) to indicate that item is selected. I feel like this would cause user confusion, and I'd like to figure out why my code doesn't do this. One side note and a useful piece of information: whenever I click the NavigationLink in the sidebar, the console prints this: onChange(of: UpdateTrigger) action tried to update multiple times per frame.
In the macOS app, upon launch, the detail view shows up. Great. What doesn't show up is my sidebar with the options on it. How do I make it so that the sidebar shows up no matter what unless the user specifies to remove it from view?
Attached are some images and my code. Thanks, y'all!
struct ContentView: View {
var body: some View {
// NavigationSplitView for the sidebar
NavigationSplitView {
// List of the options
List {
// NavigationLink for my button
NavigationLink {
// Linking to my main view that I want to show up upon launch of the app
MainView()
// Label to make it look pretty
} label: {
Label("Main View", systemImage: "icloud")
}
// Make the sidebar actually look like a sidebar
.listStyle(.sidebar)
}
// NavigationTitle at the top of the sidebar
.navigationTitle("Cling")
//
} detail: {
// Make it so that the main screen shows up upon launch (however, this doesn't make the button light up to signify that the user has selected that view)
MainView()
}
}
}
Post not yet marked as solved
Does anyone else have this problem/know a solution to fix this? Using a Logitech Smart keyboard/iPad Pro 12.9 1st gen/iOS 16 Developer beta.
Post not yet marked as solved
How to add a custom button to the Edit Menu on both iOS and iPadOS natively using SwiftUI.
I have seen many ways to implement custom button using UIKit but wondering how to use SwiftUI to achieve the same thing.
I have never seen any modifiers or Menus about this. I guest there is no way to do that.
Any idea about this? or is it a future update for SwiftUI ??