Post

Replies

Boosts

Views

Activity

Reply to Get the file size of a file in iCloud Drive
After a little more investigation, I did find a hack. It turns out that .iCloud files are actually property list files, and you can read them using the low-level file API. For example, I have a file named 02.data on my iCloud drive that's 134MB. It's placeholder file (.02.data.icloud) contains this: { NSURLFileResourceTypeKey = NSURLFileResourceTypeRegular; NSURLFileSizeKey = 134210392; NSURLNameKey = "02.data"; } Which is exactly the info I was looking for! No let's hope this doesn't change with the next OS! :P
Topic: App & System Services SubTopic: General Tags:
Jun ’23
Reply to NFC Tags won't read after iOS 15.4 update
Similar situation here. New iPhone 13 Pro running iOS 15.4.1. I have a CUPLTag temperature and humidity logger that uses NFC to download the sample data. Before 15.4 update it worked every time. Afterwards, it rarely works at all. In fact, I only think I've gotten it to work this way twice since the update. Yet I can launch the NFC Tools, tap "Read", then move it near the tag and it reads immediately, every time.
Topic: App & System Services SubTopic: General Tags:
Apr ’22
Reply to Get the file size of a file in iCloud Drive
After a little more investigation, I did find a hack. It turns out that .iCloud files are actually property list files, and you can read them using the low-level file API. For example, I have a file named 02.data on my iCloud drive that's 134MB. It's placeholder file (.02.data.icloud) contains this: { NSURLFileResourceTypeKey = NSURLFileResourceTypeRegular; NSURLFileSizeKey = 134210392; NSURLNameKey = "02.data"; } Which is exactly the info I was looking for! No let's hope this doesn't change with the next OS! :P
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Get the file size of a file in iCloud Drive
I'm running into the same issue. I've looked through all of the NSURL resource keys and none of them will return the size of the original (yet to be downloaded) file. This is frustrating because the Finder seems to know what the size is, and I'd really like to know where it gets that information.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to NFC Tags won't read after iOS 15.4 update
Similar situation here. New iPhone 13 Pro running iOS 15.4.1. I have a CUPLTag temperature and humidity logger that uses NFC to download the sample data. Before 15.4 update it worked every time. Afterwards, it rarely works at all. In fact, I only think I've gotten it to work this way twice since the update. Yet I can launch the NFC Tools, tap "Read", then move it near the tag and it reads immediately, every time.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22