Post not yet marked as solved
While selecting a framework rather than the executable as the active scheme,
SwiftUI preview cannot use: Updating took more than 5 seconds.
However, while selecting the main app target, it can work perfectly.
Repro steps:
git clone https://github.com/imWildCat/NonExecutableTargetCannotUseSwiftUIPreviewDemo
cd NonExecutableTargetCannotUseSwiftUIPreviewDemo
xed NonExecutableTargetCannotUseSwiftUIPreviewDemo.xcworkspace
Select the “SharedUI” target as the active scheme
Open the WebImage.swift source file
Run the SwiftUI preview
Please note that, if you use the main app target (executable rather than the frame), it can be previewed.
Post not yet marked as solved
In WWDC21, we saw the possibility to build and distribute SwiftUI apps on iPad.
I wonder how to find it?
Post not yet marked as solved
Hello, since WebKit has fully supported security keys for MFA, could we add the capability for 2FA to Apple ID?
It would make it easier for us to log into our accounts.
And of course, it can save a lot for Apple because less SMS messages need to be sent.
Post not yet marked as solved
I'm building a Catalyst macOS app but got this bug.
Basically, I cannot go back to the top level list while tapping the back button in the side bar. The cell row got automatically selected while going back.
The source code of this kind of split view controller looks like:
swift
class RootSplitVC: UISplitViewController {
override func viewDidLoad() {
super.viewDidLoad()
let viewController = SideBarListViewController()
primaryBackgroundStyle = .sidebar
preferredDisplayMode = .oneBesideSecondary
let listNavigationVC = UINavigationController(rootViewController: viewController)
viewControllers = [
listNavigationVC, // could only be reproduced on Big Sur with Optimized for Mac
DetailViewController(), // this does not matter
]
Full source code: https://github.com/imWildCat/CatalystTableViewAutoSelectedOnPopDemo
Post not yet marked as solved
I am building a Catalyst app with "Optimize Interface for Mac".
If a use mainSplitVC.primaryBackgroundStyle = .sidebar and add animations for table view, it leads to bad animation.
You can see the video here: imgur.com/a/1Kn4RVA
(Don't know why I cannot attach and video or image here)
This should be a bug for Catalyst. Also filed a bug report:
Post not yet marked as solved
After installing Xcode 12 beta, all my Simulators won't be displayed in the "Develop" menu.
macOS 10.15.5 (19F101)
We hope that SwiftUI can be a standalone library which is similar to Swift (before 5), Jetpack or AppCompat library.If it is bundled in iOS / macOS, we cannot use it for production for at least one year since it’s far from mature now.
Post not yet marked as solved
WKWebView is a very important view to handle user's rich inputs.However, currently there's no support for the keyboard appearance of it.Does Apple consider to add the keyboard appearance support for WKWebView?