Connect with Apple engineers to discuss the latest Apple technologies announced at WWDC21.

Posts under WWDC21 tag

68 Posts
Sort by:
Post not yet marked as solved
33 Replies
9.4k Views
Having just updated both my iPad and my M1 Mac to the new betas, I guess it is safe to say that Universal Control isn't a live feature yet? (Or I am just an *****?)
Posted
by
Post not yet marked as solved
3 Replies
4.3k Views
The Xcode 13 part of the SOTU video and the https://developer.apple.com/xcode/ page mention "Team Comments" -- this seems really cool. But... how do you get the comments? And can you ADD or EDIT comments within Xcode? Or just see them? I've tried with a github repo and a bitbucket one but don't see those. Thanks!
Posted
by
Post not yet marked as solved
4 Replies
1.6k Views
Notifications for native apps was released in 2009. It's now 2021 and we still have no indication when Web App Notifications are being developer let alone released. Service Workers and Notifications are already built and working in desktop safari. Given that the majority of apps require some sort of notification to be useful, is the safari team currently developing this feature and what is the planned release date?
Posted
by
Post not yet marked as solved
11 Replies
3.8k Views
One of the primary issues with web-development and dealing with Apple/Safari compared to dealing with the Microsoft Edge and Google Chrome teams is that it feels difficult for developers to have voice in Safari development. Requests on bugs.webkit.org go unanswered and critical features which are essential too many developers are never placed in the pipeline. From an outsiders perspective there seems to be several major issues: The Safari team is underfunded and needs more engineers and a much higher budget There is the perception that a significant number of critical features do not get developed because Apple does not want competition with the AppStore and by not developing those features it forces developers to use the App Store instead. Developers are not given an opportunity to communicate with Apple Having worked with Safari development since 2003 when it was one of the best, most feature rich advanced browsers, it's really disappointing for Safari to be the limiting factor in every single app we develop. Apple has the financing and the engineering talent to fix this. How can we open these lines of communication and make Safari one of the best browsers for developers once again?
Posted
by
Post not yet marked as solved
2 Replies
5.7k Views
I created a new iOS project targeting iOS 15 using Xcode 13.0 beta (13A5154h) on Big Sur to test some new SwiftUI features.  Xcode shows me the error like "*** is only available in iOS 15.0 or newer" for all new API for iOS 15.  The project target is iOS 15  I tried to create another project again, same problem.  Would you please help to fix it?  Thanks a lot! Philipp
Posted
by
Post not yet marked as solved
1 Replies
415 Views
How to turn on AssistiveTouch on Apple Watch? I saw it on the keynote available in WatchOS8. I am using series 3 watch.
Posted
by
Post not yet marked as solved
19 Replies
15k Views
After upgrading to iOS 15, my company's InHouse app can't open with prompt that "App Name Need to Be Updated. The developer of this app needs to update it to work with this version of iOS." Why is it occurred and how can I solve this issue?
Posted
by
Post marked as solved
8 Replies
2.1k Views
Hi, I'm using the sample code to create a 3D object from photos using PhotogrammetrySession but it returns this error: Error creating session: cantCreateSession("Native session create failed: CPGReturn(rawValue: -11)") Sample code I've used is this and this. Any idea? Thanks in advance!
Posted
by
Post not yet marked as solved
4 Replies
1.3k Views
Hi, I am interested in decoding multichannel Higher-Order Ambisonics feeds to the Spatial Audio renderer discussed in the "Immerse your app in spatial audio" WWDC21 talk. However, I could not find any documentation about which multichannel audio formats are actually supported by the renderer, and a search for "Ambisonics" in the developer documentation only contains results pertaining to the Audio DriverKit. Can someone please enlighten me? Thank you!
Posted
by
Post not yet marked as solved
2 Replies
1.3k Views
How can I create a List that starts on the bottom?  All Lists start on top, but in a chat, the desired content scroll direction is up (inverted). There are workarounds that rely on flipping the list with rotation effects, but these don’t work well, and make the logic very hard to understand. Scrolling to bottom after some delay on list appear has side effects (loads rows on top). Ideally there would be List { … }.scrollDirection(.inverted) api, that automatically loads the list from its last item, not first.
Posted
by
Post marked as solved
2 Replies
1k Views
In the session on StoreKit 2 (which looks amazing!), the presenter says: In fact, if your app is running when a purchase is made on another device, you'll be notified about the new transaction. This seems to mean that when an app uses the listener API to be notified of transactions, it will get transactions that happened on other devices. My app offers purchases across other platforms in addition to iOS, and when a purchase happens we register it with our own account system. If a user has the app running on both their iPad and iPhone and makes a purchase on the phone, if the iPad gets notified of it the same way it would of a purchase made on the iPad, both devices will try to report it to our system. This seems undesirable. What's the recommended approach here? Should we just make sure our system will disregard duplicate transaction reports? Or is there a way to know whether a transaction originated on this device? I don't see a property on the transaction type that looks like it could accomplish this. Maybe the deviceVerification properties? But that's seems more like the new edition of transaction receipt verification - failing that check would presumably mean that the purchase is invalid, not that it didn't happen on this device...?
Posted
by
Post not yet marked as solved
1 Replies
500 Views
On iOS 15 beta 1 running on a 12.9 iPad Pro, the UIDocumentBrowserViewController in my app does not display the Locations group or any of its members (On My iPad, iCloud Drive, etc...). This happens both for the shipping version in the App Store and for versions built with the iOS 15 SDK. However, the Locations group is displayed correctly in the Files app and for a sample project built from the document-based app template. I assume this is a plist issue or is perhaps related to the fact that the iPad was updated from iOS 13. I am wondering if anyone else is encountering this. Submitted as FB9140143. -Steve
Posted
by
sjs
Post not yet marked as solved
6 Replies
3.5k Views
Hey! It seems like the focus state is not working. I even tried copying the example from the documentation directly into a new view and it didn't select the different textFields. Anybody that can see anything that I am missing? struct LoginForm: View {     enum Field: Hashable {         case username         case password     }     @State private var username = ""     @State private var password = ""     @FocusState private var focusedField: Field?     var body: some View {         Form {             TextField("Username", text: $username)                 .focused($focusedField, equals: .username)             SecureField("Password", text: $password)                 .focused($focusedField, equals: .password)             Button("Sign In") {                 if username.isEmpty {                     focusedField = .username                 } else if password.isEmpty {                     focusedField = .password                 } else {                 }             }         }     } }
Posted
by
Post marked as Apple Recommended
2.3k Views
There's new API and some header documentation for "Location Push Service Extension"s. I haven't seen any sessions related to Core Location scheduled beyond Meet the Location Button Is there any documentation for this I have missed?
Posted
by
Post not yet marked as solved
2 Replies
534 Views
I have an AVSampleBufferDisplayLayer playing a local video. When adding the AvSampleBufferDisplayLayer as a contentSource to AVPictureInPictureController, it fails with The operation couldn’t be completed. (PGPegasusErrorDomain error -1003.) I can't find any documented error with that domain an error code. Help?
Posted
by
Post not yet marked as solved
1 Replies
2.2k Views
We have a question with respect to the Live Text feature shown in the Keynote. Is there an API or Framework available for this? Also, if there is a Framework/API available can we leverage it on macOS?
Posted
by
Post not yet marked as solved
17 Replies
16k Views
Is there any documentation on which commands are supported for vim mode now? I know there's the help bar (though I haven't seen it appear since yesterday...). Is there vimrc support, etc...?
Posted
by
Post not yet marked as solved
2 Replies
897 Views
How can we call async functions in did set blocks? This code will trigger a compilation error: 'didSet' accessor cannot have specifier 'async' @Published var lastLocation: CLLocation? { didSet async { await pinPosition() } }
Posted
by
Post marked as solved
1 Replies
1k Views
Hello everyone, This is a bit of a first for me, attaching the Safari Debugger to a webview in our app will crash the app itself. This is Safari + macOS 12 + Xcode 13 + iOS 15 Simulator so there are plenty of moving parts still it is a bit of a new one :). Raised the following Bug Report: FB9145558 This is the sanitised stack trace I can share: Process: APPLICATION_NAME [17438] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/1F4F2CDE-64EB-44BA-8B40-1CC6197A3BC9/data/Containers/Bundle/Application/49053572-EE15-41B7-A8D0-94A7D92D76E5/APPLICATION_NAME.app/APPLICATION_NAME Identifier: BUNDLE_PREFIX.APPLICATION_NAME Version: 11.20.7 (2847) Code Type: X86-64 (Native) Role: Foreground Parent Process: launchd_sim [17090] Coalition: com.apple.CoreSimulator.SimDevice.1F4F2CDE-64EB-44BA-8B40-1CC6197A3BC9 [7161] Responsible Process: SimulatorTrampoline [3280] Date/Time: 2021-06-09 13:49:02.3675 +0100 Launch Time: 2021-06-09 13:48:44.2049 +0100 OS Version: macOS 12.0 (21A5248p) Release Type: User Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000012 VM Region Info: 0x12 is not in any region. Bytes before following region: 4304560110 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> __TEXT 100926000-101ee2000 [ 21.7M] r-x/r-x SM=COW ...pp/APPLICATION_NAME Exception Note: EXC_CORPSE_NOTIFY Termination Reason: SIGNAL 11 Segmentation fault: 11 Terminating Process: exc handler [17438] Triggered by Thread: 16 Full sanitised stack trace attached. Full Crash Log Kind Regards, Goffredo
Posted
by