Skip to content

Instantly share code, notes, and snippets.

View apendley's full-sized avatar

Aaron Pendley apendley

View GitHub Profile
@mac-cain13
mac-cain13 / Info.plist
Last active May 9, 2025 05:39
Function to request and check Local Network permission on iOS, iPadOS & visionOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSBonjourServices</key>
<array>
<string>_preflight_check._tcp</string>
</array>
</dict>
</plist>