Posts

Post not yet marked as solved
0 Replies
645 Views
I'm writing a multiplatform app that uses MapKit with custom tiles via MKTileOverlay. The map should have buttons for zooming in and out. Those buttons set the region of the MKMapView with animation parameter. I want to make this animation faster. While good for generic change of a region, it feels too slow when changing the region for the zooming purposes. In general, I'm working with SwiftUI. But because MKTileOverlay is not available there, the MKMapView is being accessed via the UIViewRepresentable and NSViewRepresentable respectively. On iOS, to make animation faster (reduce animation time), I'm using UIView.animate(withDuration: 0.2) { mapView.setRegion(region, animated: true) } and it achieves the goal. On macOS, I tried: NSAnimationContext.runAnimationGroup { context in context.duration = 0.2 mapView.setRegion(region, animated: true) } and: CATransaction.begin() CATransaction.setAnimationDuration(0.2) mapView.setRegion(region, animated: true) CATransaction.commit() but without success. The default animation duration is not overridden. I appreciate any input you could give me. Alexey
Posted
by eofster.
Last updated
.
Post not yet marked as solved
5 Replies
4.2k Views
My sandboxed Mac VoIP application is trying to set a QoS DiffServ DSCP value to mark RTP traffic transmitting voice. It is doing that via a third-party open source library. Specifically, the setsockopt() function is called with the value NET_SERVICE_TYPE_VO in its fourth argument:status = setsockopt(sock, SOL_SOCKET, SO_NET_SERVICE_TYPE, (void *)&val, sizeof(val));The function returns success.However, when I'm tcpdumping this traffic, I see ToS value 0x0. This is happening on macOS 10.14 Mojave. The same binary running on macOS 10.10 produces the expected result: the ToS value provided by tcpdump shows the non-zero value 0xc0.Am I missing something or should I creae a bug report?
Posted
by eofster.
Last updated
.
Post not yet marked as solved
0 Replies
1.5k Views
Hi,Do Mac apps purchased via Apple Business Manager and possiblty distributed via an MDM solution automatically get the same App Store receipt as the apps purchased via the normal App Store? If not, is there any other way of locally validating that a particular copy of the app has been purchased via Apple Business Manager?Alexey
Posted
by eofster.
Last updated
.