Post

Replies

Boosts

Views

Activity

Reply to iPhone with iOS 14 beta 2 doesn't autorotate when connected to XCode debugger
I solved the rotation problem by locking and unlocking the device rotation from the control center of the iOS device while debugging the app. So the steps are: 1) run your app with XCode 2) open control center in your device and lock the screen rotation, then unlock it again 3) close the control center and now the rotation should work Unfortunately you have to repeat this every time... Anyway this is just a workaround, I was hoping to find what was causing it in my code but I found no clues. I hope this trick is going to work for you too.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’21
Reply to Connect DSA trader question
Hi there, I am posting here what I have found and understood of the DSA law. Be advised that I am NOT a lawyer, so please understand that this is just what I understood by reading parts of the law and is not a legal advice. Nonetheless I encourage you to discuss and criticize my findings. Article 3, Definitions. Paragraph (f). ‘trader’ means any natural person, or any legal person irrespective of whether it is privately or publicly owned, who is acting, including through any person acting in his or her name or on his or her behalf, for purposes relating to his or her trade, business, craft or profession; Article 30, Traceability of traders, Paragraph (1) Providers of online platforms allowing consumers to conclude distance contracts with traders shall ensure that traders can only use those online platforms to promote messages on or to offer products or services to consumers located in the Union if, prior to the use of their services for those purposes, they have obtained the following information, where applicable to the trader: (a) the name, address, telephone number and email address of the trader; (b) a copy of the identification document of the trader or any other electronic identification as defined by Article 3 of Regulation (EU) No 910/2014 of the European Parliament and of the Council (40); (c) the payment account details of the trader; (d) where the trader is registered in a trade register or similar public register, the trade register in which the trader is registered and its registration number or equivalent means of identification in that register; (e) a self-certification by the trader committing to only offer products or services that comply with the applicable rules of Union law. In the article 30 "Providers of online platforms" above, I think the law refers in our case to Apple Inc that provides the App Store platform to the traders, while traders refers the traders that allow consumers to conclude distance contracts. The distance contracts are defined in L 304/73 as (7) ‘distance contract’ means any contract concluded between the trader and the consumer under an organised distance sales or service-provision scheme without the simultaneous physical presence of the trader and the consumer, with the exclusive use of one or more means of distance communication up to and including the time at which the contract is concluded; The definition of distance contract is not very clear. But again I am not a lawyer. I do not understand if the word contract refers to subscriptions, in-app purchase, single-purchase, or if it just refers to contracts stipulated with the clients outside the App Store platform. Anyway, the crucial part I found is that the article 30 is contained within Section 4 that starts with the following article: Article 29 Article 29. Exclusion for micro and small enterprises. This Section shall not apply to providers of online platforms allowing consumers to conclude distance contracts with traders that qualify as micro or small enterprises as defined in Recommendation 2003/361/EC. This Section shall not apply to providers of online platforms allowing consumers to conclude distance contracts with traders that previously qualified for the status of a micro or small enterprise as defined in Recommendation 2003/361/EC during the 12 months following their loss of that status pursuant to Article 4(2) thereof, except when they are very large online platforms in accordance with Article 33. So in my understanding if you have a small business you should not provide the phone number address and other information requested in article 30, because article 30 is inside Section 4 which starts with article 29 that is exonerating micro os small enterprises from the requirements of the law. Do you think my conclusion is accurate? Please let's discuss about that.
Mar ’24
Reply to Connect DSA trader question
@endecotp Yes you're absolutely right about Section 3. My mistake. However section 4, Article 30, Traceability of traders. is the one that we should look at. They are talking about the documents that Apple should request to the traders that do not qualify as micro or small enterprises. (a) the name, address, telephone number and email address of the trader; (b) a copy of the identification document of the trader or any other electronic identification as defined by Article 3 of Regulation (EU) No 910/2014 of the European Parliament and of the Council (40); (c) the payment account details of the trader; (d) where the trader is registered in a trade register or similar public register, the trade register in which the trader is registered and its registration number or equivalent means of identification in that register; (e) a self-certification by the trader committing to only offer products or services that comply with the applicable rules of Union law. The paragraph in Article 29 has no commas so I think you should read it like this: This Section shall not apply to providers of online platforms allowing consumers to conclude distance contracts with (traders that qualify as micro or small enterprises)
Mar ’24
Reply to FileManager.copyItem Permission Bug in iOS 18.1.1 with iCloud Shared Folders
I apologize for contradicting you, but I believe there might be a bug. When I use the same code FileManager.default.copyItem(at:to:) with iOS 16.7.10 to copy a file into the app sandbox, the app can successfully delete the copied file. After further testing, I discovered that the issue may not be related to file permissions. When importing files using UIDocumentPickerViewController (regardless of whether the asCopy flag is set to true or false), the files are assigned 600 permissions. This should be sufficient since the app is the owner of the file, granting it both read and write access, including the ability to delete the file. However, in iOS 18.1.1, an issue occurs when the app copies a file imported using UIDocumentPickerViewController with the asCopy flag set to false. When such a file is copied into the app sandbox, the app is unable to delete the file or modify its attributes. Strangely, the group and owner IDs of the file appear identical to those of files imported with the asCopy flag set to true that the app is able to delete. To provide more context, I have created a branch on the GitHub repository that logs the file attributes: https://github.com/giomurru/FileDeletePermissionBug/tree/permissions-log. This inconsistency in behavior is perplexing and suggests there may be an underlying issue beyond permissions or ownership. I believe this warrants further investigation. Have a nice day, Giovanni
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’24