Post

Replies

Boosts

Views

Activity

How to know by code that device is connected to "HotSpot" ?
I would like to find a way to know programmatically if the device that currently running my app is connected to a "hotspot" network. I know we can know that it is connected to Wi-Fi by the use of the NWPathMonitor(), which As far as I know it only gives us the info that user is connected to Wi-Fi which could be hotspot, or it could be a public/Enterprise Wi-Fi facility.
1
0
568
Dec ’22
Fairplay Streaming certificate - expiry date and renewal
The list of certificates on the Apple Developer web console shows the expiry of my Fairplay Streaming certificate as 'Never'. However, if I download the same certificate and import it into my KeyChain, the certificate details show the listed expiry as 11 OCT 2023. Which of these is correct? If the expiry in the certificate is correct, how do I renew it safely. With my App the below lines fails at the process of -streamingContentKeyRequestData- CODE guard let contentIdData = (loadingRequest.request.url?.host ?? "").data(using: .utf8), let spcData = try? loadingRequest.streamingContentKeyRequestData( forApp: certificate!, // This certificate is expired contentIdentifier: contentIdData, options: nil ) else { print("Error: Failed to generate SPC data due to expired certificate.") loadingRequest.finishLoading(with: NSError(domain: "com.example.error", code: -3, userInfo: nil)) return false }
1
0
726
Oct ’24
How to know by code that device "Developer Mode" is enabled ?
I want to disable some app features in case the Device Developer Mode is enabled ? How I can do that ? This for a legal requirement
Replies
1
Boosts
0
Views
683
Activity
Nov ’22
How to know by code that device is connected to "HotSpot" ?
I would like to find a way to know programmatically if the device that currently running my app is connected to a "hotspot" network. I know we can know that it is connected to Wi-Fi by the use of the NWPathMonitor(), which As far as I know it only gives us the info that user is connected to Wi-Fi which could be hotspot, or it could be a public/Enterprise Wi-Fi facility.
Replies
1
Boosts
0
Views
568
Activity
Dec ’22
Fairplay Streaming certificate - expiry date and renewal
The list of certificates on the Apple Developer web console shows the expiry of my Fairplay Streaming certificate as 'Never'. However, if I download the same certificate and import it into my KeyChain, the certificate details show the listed expiry as 11 OCT 2023. Which of these is correct? If the expiry in the certificate is correct, how do I renew it safely. With my App the below lines fails at the process of -streamingContentKeyRequestData- CODE guard let contentIdData = (loadingRequest.request.url?.host ?? "").data(using: .utf8), let spcData = try? loadingRequest.streamingContentKeyRequestData( forApp: certificate!, // This certificate is expired contentIdentifier: contentIdData, options: nil ) else { print("Error: Failed to generate SPC data due to expired certificate.") loadingRequest.finishLoading(with: NSError(domain: "com.example.error", code: -3, userInfo: nil)) return false }
Replies
1
Boosts
0
Views
726
Activity
Oct ’24
Ask Apple - Slack channels Error "There's been a glitch"
Hi, When I attempt to join a ask Apple event , I get an issue in slack "There's been a glitch" and it won't connect me to the any channel. How do I resolve this?
Replies
3
Boosts
0
Views
1.3k
Activity
Dec ’22