Post

Replies

Boosts

Views

Activity

Reply to VNRecognizeTextRequest from a text drawn in UIImageView returns empty results
I was skeptical and dismissed this thread which was a mistake. This is not a bug, the vision framework needs a background to detect something. In my case I wanted to check drawn data from PencilKit to be analyzed with Vision. I was able to get really good results with this small workaround to add a background to the drawn content: private func getImage() -> UIImage { let image = canvas.drawing.image(from: canvas.bounds, scale: 1) // use your image here if let data = image.jpegData(compressionQuality: 1), let imageWithBackground = UIImage(data: data) { return imageWithBackground } return image } Its not necessary to save it to files for this. The recognition works without a problem on iOS 16 in my case.
Jun ’23
Reply to app rejected because media player has album art!?
I don't know if this wasn't the case back than or the review progress is even more flawed than I thought, but I got through with my Screenshots with this answer to their message: "In the App Store Review Guidelines 4.5.2 (ii) Apple Sites and Services (https://developer.apple.com/app-store/review/guidelines/#apple-sites-and-services) the guideline says: "Cover art and other metadata may only be used in connection with music playback or playlists (including App Store screenshots displaying your app’s functionality)" Several of my screenshots show playlist covers (not album covers) created, owned and provided by Apple Music not by the artist who is on the image. The playlist covers are provided by Apple Music via their free AppleMusic API and the framework MusicKit. As you can see under the section 7 "Apple Approval" in the Apple Music Identity Guide (https://www.apple.com/itunes/marketing-on-music/identity-guidelines.html#apple-approval) "Most marketing materials don’t require approval by Apple." " Maybe it helps for the future people who search for this :)
Mar ’23