Post

Replies

Boosts

Views

Activity

iOS 16 Lockscreen Fonts?
Looking at available fonts in XCode14 I'm not seeing any that match what's available on the new LockScreen customization on iOS16. I have a wallpaper app where I simulate what it might look like with a lock overlay. I'd love to support the same fonts that are available in the real lock screen. I hope these fonts will be available to developers :) Daniel
0
0
1.6k
Jul ’22
VNGeneratePersonSegmentationRequest produces mask at different resolution then source image
Trying to use VNGeneratePersonSegmentationRequest.. it seems to work but the output mask isn't at the same resolution as the source image.. so comping the result with the source produces a bad result. Not the full code, but hopefully enough to see what I'm doing. var imageRect = CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height) let imageRef = image.cgImage(forProposedRect: &imageRect, context: nil, hints: nil)! let request = VNGeneratePersonSegmentationRequest() let handler = VNImageRequestHandler(cgImage: imageRef) do { try handler.perform([request]) guard let result = request.results?.first else { return } //Is this the right way to do this? let output = result.pixelBuffer //This ciImage alpha mask is a different resolution than the source image //So I don't know how to combine this with the source to cut out the foreground as they don't line up.. the res it's even the right aspect ratio. let ciImage = CIImage(cvPixelBuffer: output) ..... }
2
0
1k
Jul ’23
"Sign in with Apple" domain verification issue
I'm following the steps to impliment "Sign in with Apple" and I'm stuck tyring to verify my domain on this page:https://developer.apple.com/account/resources/services/configureI've downloaded the apple-developer-domain-association.txt text file and placed it on my server at the path:https://myserver.com/.well-known/apple-developer-domain-association.txtI've tested loading that file from a web browser.. it works fine. But the "Verify" button rejects with "Verification failed for domain". I get no further debug info. Has anyone else run into this or verified sucessfully? I've noticed each time I download the apple-developer-domain-association.txt file it's different and I've made sure my server is in sync with the last time I grab the file.. done this multiple times.. no luck.ThanksDaniel
13
0
15k
Mar ’22
iOS 16 Lockscreen Fonts?
Looking at available fonts in XCode14 I'm not seeing any that match what's available on the new LockScreen customization on iOS16. I have a wallpaper app where I simulate what it might look like with a lock overlay. I'd love to support the same fonts that are available in the real lock screen. I hope these fonts will be available to developers :) Daniel
Replies
0
Boosts
0
Views
1.6k
Activity
Jul ’22
VNGeneratePersonSegmentationRequest produces mask at different resolution then source image
Trying to use VNGeneratePersonSegmentationRequest.. it seems to work but the output mask isn't at the same resolution as the source image.. so comping the result with the source produces a bad result. Not the full code, but hopefully enough to see what I'm doing. var imageRect = CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height) let imageRef = image.cgImage(forProposedRect: &imageRect, context: nil, hints: nil)! let request = VNGeneratePersonSegmentationRequest() let handler = VNImageRequestHandler(cgImage: imageRef) do { try handler.perform([request]) guard let result = request.results?.first else { return } //Is this the right way to do this? let output = result.pixelBuffer //This ciImage alpha mask is a different resolution than the source image //So I don't know how to combine this with the source to cut out the foreground as they don't line up.. the res it's even the right aspect ratio. let ciImage = CIImage(cvPixelBuffer: output) ..... }
Replies
2
Boosts
0
Views
1k
Activity
Jul ’23
"Sign in with Apple" domain verification issue
I'm following the steps to impliment "Sign in with Apple" and I'm stuck tyring to verify my domain on this page:https://developer.apple.com/account/resources/services/configureI've downloaded the apple-developer-domain-association.txt text file and placed it on my server at the path:https://myserver.com/.well-known/apple-developer-domain-association.txtI've tested loading that file from a web browser.. it works fine. But the "Verify" button rejects with "Verification failed for domain". I get no further debug info. Has anyone else run into this or verified sucessfully? I've noticed each time I download the apple-developer-domain-association.txt file it's different and I've made sure my server is in sync with the last time I grab the file.. done this multiple times.. no luck.ThanksDaniel
Replies
13
Boosts
0
Views
15k
Activity
Mar ’22