Post

Replies

Boosts

Views

Activity

Why does an edited 4K 60 FPS video become significantly smaller than the original when exported from the Photos library?
I'm observing an interesting behavior on iOS when uploading edited videos from the Photos library. Scenario Device: iPhone Video: 4K, 60 FPS Original video size (Photos app): 660 MB Uploaded original asset: 660 MB After applying a simple edit (e.g., a filter) in the Photos app: Photos app still shows the edited video. When my app uploads the current/edited asset, the uploaded file size becomes 167 MB. So the edited version is approximately 75% smaller than the original (660 MB → 167 MB), even though the duration appears unchanged. Questions Is this expected behavior for edited videos in the Photos library? Does iOS automatically re-encode edited videos using a lower bitrate or a different codec (e.g., HEVC) when generating the current rendition? Does the Photos app continue to display the size of the original asset rather than the size of the edited rendition? I'm aware that PhotoKit allows retrieving both the original and the current (edited) versions of a PHAsset. In this case, I'm intentionally retrieving the current version, and this behavior is observed only for the edited asset.
1
0
81
4h
Universal links app-site-association file were not downloading in iOS
Hi Team , I'm currently working on universal links. iOS application is build with react-native framework Steps I did to achieve the universal links Step 1 : Created an app-site-association file My AASA file format : "applinks": { "details": [ { "appIDs": [ "TEAMID.BUNDLEID" ], "components": [ { "/": "*", "?": { "$web_only": "true" }, "exclude": true }, { "/": "*", "?": { "%24web_only": "true" }, "exclude": true }, { "/": "/e/*", "exclude": true }, { "/": "*", }, { "/": "/", } ] } ] } } Step 2 : I have hosted the app-site-association file in .well-known path https://staging.***.com/.well-known/apple-app-site-association Step 3 : I have enabled associated domains and added applinks in Entitlements also <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.developer.associated-domains</key> <array> <string>applinks:staging.***.com</string> </array> <key>com.apple.developer.networking.multicast</key> <true/> <key>com.apple.developer.networking.wifi-info</key> <true/> </dict> </plist> Step 4 : https://app-site-association.cdn-apple.com/a/v1/staging.***.com With the above apple cdn url , I can able to see the app-site-association file which I hosted in https://staging.***.com/.well-known/apple-app-site-association path. Step 5 : I have checked the console of phone with Xcode -> Devices -> Console When my application trying to down the AASA file from my server , I got this below error : swcd : Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 "Failed to get associated domain data from ManagedConfiguration framework." UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=298, Function=} swcd : Developer mode enabled: NO Kindly help me to resolve this issue Thanks in advance.
1
0
1.9k
Aug ’24
NEHotspotNetwork returning BSSID (MAC Address ) are not accurate
I'm using NEHotspotNetwork for getting the WiFi network information , ex - SSID , BSSID and Signal Strength. But the BSSID values are not accurate comparing to the Router MAC Address . The last segment value is different is always from NEHotspotNetwork. Is apple intentionally proving last value differently or do I need to use any other API for getting the MAC address of a router. Example : What I am getting using NEHotspotNetwork : c3:85:63:26:56:ef The actual Mac address of the Network : c3:85:63:26:56:3c
1
0
633
Mar ’24
Why does an edited 4K 60 FPS video become significantly smaller than the original when exported from the Photos library?
I'm observing an interesting behavior on iOS when uploading edited videos from the Photos library. Scenario Device: iPhone Video: 4K, 60 FPS Original video size (Photos app): 660 MB Uploaded original asset: 660 MB After applying a simple edit (e.g., a filter) in the Photos app: Photos app still shows the edited video. When my app uploads the current/edited asset, the uploaded file size becomes 167 MB. So the edited version is approximately 75% smaller than the original (660 MB → 167 MB), even though the duration appears unchanged. Questions Is this expected behavior for edited videos in the Photos library? Does iOS automatically re-encode edited videos using a lower bitrate or a different codec (e.g., HEVC) when generating the current rendition? Does the Photos app continue to display the size of the original asset rather than the size of the edited rendition? I'm aware that PhotoKit allows retrieving both the original and the current (edited) versions of a PHAsset. In this case, I'm intentionally retrieving the current version, and this behavior is observed only for the edited asset.
Replies
1
Boosts
0
Views
81
Activity
4h
Universal links app-site-association file were not downloading in iOS
Hi Team , I'm currently working on universal links. iOS application is build with react-native framework Steps I did to achieve the universal links Step 1 : Created an app-site-association file My AASA file format : "applinks": { "details": [ { "appIDs": [ "TEAMID.BUNDLEID" ], "components": [ { "/": "*", "?": { "$web_only": "true" }, "exclude": true }, { "/": "*", "?": { "%24web_only": "true" }, "exclude": true }, { "/": "/e/*", "exclude": true }, { "/": "*", }, { "/": "/", } ] } ] } } Step 2 : I have hosted the app-site-association file in .well-known path https://staging.***.com/.well-known/apple-app-site-association Step 3 : I have enabled associated domains and added applinks in Entitlements also <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.developer.associated-domains</key> <array> <string>applinks:staging.***.com</string> </array> <key>com.apple.developer.networking.multicast</key> <true/> <key>com.apple.developer.networking.wifi-info</key> <true/> </dict> </plist> Step 4 : https://app-site-association.cdn-apple.com/a/v1/staging.***.com With the above apple cdn url , I can able to see the app-site-association file which I hosted in https://staging.***.com/.well-known/apple-app-site-association path. Step 5 : I have checked the console of phone with Xcode -> Devices -> Console When my application trying to down the AASA file from my server , I got this below error : swcd : Error getting enterprise-managed associated domains data. If this device is not enterprise-managed, this is normal: Error Domain=SWCErrorDomain Code=1701 "Failed to get associated domain data from ManagedConfiguration framework." UserInfo={NSDebugDescription=Failed to get associated domain data from ManagedConfiguration framework., Line=298, Function=} swcd : Developer mode enabled: NO Kindly help me to resolve this issue Thanks in advance.
Replies
1
Boosts
0
Views
1.9k
Activity
Aug ’24
How to Resolve Hostnames of Devices on the Same Wi-Fi Network with NBNS Protocol
I am currently attempting to resolve the hostname of a device connected to the same Wi-Fi network as mine. However, I've been unable to find sufficient resources or documentation on utilising the NBNS (NetBIOS Name Service) protocol for this purpose. Can someone please provide guidance on how to achieve this?
Replies
5
Boosts
0
Views
1.2k
Activity
Mar ’24
NEHotspotNetwork returning BSSID (MAC Address ) are not accurate
I'm using NEHotspotNetwork for getting the WiFi network information , ex - SSID , BSSID and Signal Strength. But the BSSID values are not accurate comparing to the Router MAC Address . The last segment value is different is always from NEHotspotNetwork. Is apple intentionally proving last value differently or do I need to use any other API for getting the MAC address of a router. Example : What I am getting using NEHotspotNetwork : c3:85:63:26:56:ef The actual Mac address of the Network : c3:85:63:26:56:3c
Replies
1
Boosts
0
Views
633
Activity
Mar ’24