Engage with the WWDC20 community and connect with Apple engineers during the conference.

Posts under WWDC20 tag

26 Posts
Sort by:
Post not yet marked as solved
11 Replies
4.2k Views
Hey, I have an app I've been experimenting with on iOS 13 that uses MultiPeerConnectivity. After upgrading to iOS 14 on one of my devices and using Xcode 12 this app no longer works. As outlined in "Support local network privacy in your app" I've added a description with NSLocalNetworkUsageDescription in Info.plist. Since the app uses Bonjour advertisting and browsing via MCNearbyServiceAdvertiser and MCNearbyServiceBrowser I've also added the service name via NSBonjourServices to Info.plist. It's my understanding that this should be enough to make browsing and advertising work. What I am observing is that when I call startAdvertisingPeer on my instance of MCNearbyServiceAdvertiser I am not seeing the local network permission prompt instead I see the following error in the console. 2020-06-27 13:26:54.634264+0100 MultiPeerTest[18970:1571288] [MCNearbyServiceAdvertiser] Server did not publish: errorDict [{		 NSNetServicesErrorCode = "-72000";		 NSNetServicesErrorDomain = 10; }]. Further my app is not showing up under Settings > Privacy > Local Network on my iPadOS 14 device. I looked at the TicTacToe example which declares the bonjour service _tictactoe._tcp as its Bonjour Service but this seems to violate the Bonjour specification for service type as described in the documentation for MCNearbyServiceAdvertiser. My code is roughly localPeer = MCPeerID.init(displayName: deviceName)				 advertiser = MCNearbyServiceAdvertiser( peer: localPeer, discoveryInfo: [:], serviceType: "my-service" )				 browser = MCNearbyServiceBrowser( peer: localPeer, serviceType: "my-service" ) browser.startBrowsingForPeers() advertiser.startAdvertisingPeer() Environment: Xcode 12 Beta(12A6159) iPad Pro(10.5", 2017) running iPadOS 14.0 Beta
Posted Last updated
.
Post not yet marked as solved
0 Replies
479 Views
Hi everybody, for my app that is a dictionary I need to create some ML to analyze the text the users inputs in to search bar of my app to do correct search of word asked. I need principally POS and Lemmatization ML. Can you give me some example of dataset?
Posted
by Rufy.
Last updated
.
Post not yet marked as solved
0 Replies
406 Views
Hi , I was watching https://developer.apple.com/videos/play/wwdc2020/10148/ And I did read the demo project code but I don't understand how Apple know when write "W" in textfield it's "W" in drawing area ? I understand that we separate every char from drawing data , but how it matching with the textfield text ? this part it's confusing me
Posted
by iX901.
Last updated
.
Post not yet marked as solved
1 Replies
495 Views
Watching https://developer.apple.com/wwdc20/10644 Using Swift on AWS Lambda with Xcode. When I call http://127.0.0.1:7000/invoke I get Status: 405 Method Not Allowed? in the browser. And my breakpoint does not hit, no message in Xcode either. Did anyone get this to work?
Posted
by MKX.
Last updated
.
Post not yet marked as solved
4 Replies
1.7k Views
Hello, Our use case is Screen sharing in a live video call. We use broadcast extension to capture screens and send frames. The broadcast extension has hard limit of 50MB. The screen sharing works great with iPhones. But on iPad, ReplayKit delivers larger screens, and as a result, the extension memory usages goes beyond 50MB. While using the profiler we noticed, the memory used by our code is <25MB, but on iPad ReplayKit is having memory spikes which causes memory to go beyond 50MB limits. How should I achieve screen sharing use case on iPads? What is the guideline. Any suggestion/help is appreciated. Best, Piyush
Posted
by ptank.
Last updated
.