Post

Replies

Boosts

Views

Activity

Reply to How to stop the screen from going to sleep
If you write code like that in function and then call the function? private func disableIdleTimer() { #if os(iOS) UIApplication.shared.isIdleTimerDisabled = true #elseif os(macOS) NSApplication.shared.isIdleTimerDisabled = true #endif } private func enableIdleTimer() { #if os(iOS) UIApplication.shared.isIdleTimerDisabled = false #elseif os(macOS) NSApplication.shared.isIdleTimerDisabled = false #endif } }
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’23
Reply to XCode 14.2 & ios 15.8 ->
For solution like that need update DeviceSupport file in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport DeviceSupport file possible download from https://github.com/filsv/iOSDeviceSupport#readme but for 15.8 no file yet.
Oct ’23
Reply to AudioToolbox
Select Target then in "General" section "Frameworks, Libraries, and Embedded Content press + and search AudioToolBox, and in file import AudioToolBox
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to How to stop the screen from going to sleep
If you write code like that in function and then call the function? private func disableIdleTimer() { #if os(iOS) UIApplication.shared.isIdleTimerDisabled = true #elseif os(macOS) NSApplication.shared.isIdleTimerDisabled = true #endif } private func enableIdleTimer() { #if os(iOS) UIApplication.shared.isIdleTimerDisabled = false #elseif os(macOS) NSApplication.shared.isIdleTimerDisabled = false #endif } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to XCode 14.2 & ios 15.8 ->
For solution like that need update DeviceSupport file in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport DeviceSupport file possible download from https://github.com/filsv/iOSDeviceSupport#readme but for 15.8 no file yet.
Replies
Boosts
Views
Activity
Oct ’23