Post

Replies

Boosts

Views

Activity

ShareExtension suggestions loosing avatars after a while
Hello, I am developing a Chat application, and I was able to successfully implement INSendMessageIntent to be able to have suggestions in Share Extensions with some of my contacts. I've noticed that after a day or two, avatars are lost, and 2 tested devices are displaying empty background. When I use my app to send a message, this new chat appears with avatar properly, but just after some time it goes away. I am using: let avatarImage = INImage(url: avatarUrl) intent.setImage(avatarImage, forParameterNamed: \.speakableGroupName) where avatarUrl can be a file created in NSTemporaryDirectory or just a file in my shared AppGroup directory. As you can see, Telegram suggestions work fine, suggestions from my app works well as well when I donate the intent, but after some time avatars just goes away Does apple perform some avatar caching, so when I donate the intent avatars are stored for Share sheet somewhere? Or they always use my local url and I need to make sure it's not deleted?
1
0
527
Mar ’24
xcode console - log folding / log line wrap
Hello, is there any way that I can automatically fold items in the console? I do log all API requests and responses, printed in a nice json to console. It works well, but having a lot of requests makes the console very big, and it kills readability, I have noticed that I can manually fold json printed in console with CMD+OPTION+Left shortcut. I am asking if that's possible to fold everything, or just display first lines of the console. So I can see more entries easier, and if I need I can unfold, or disable Line Wrap, to see details. I am attaching the photo of how code folds works there. It's all good, but I need to do it one by one, which is bad. If I could select everything and auto-fold, or It has the line wrap disabled. I
1
0
964
Dec ’23
App not displaying launch screen. Long booting process with grayed AppIcon
Hello, one of my users is experiencing this kind of issue: He taps on my app attached to the Dock. App icons turns gray, indicating the process is started. This state with him looking at his iOS homepage with icon grayed out stays for a second or two. App launches immediately, without displaying the Launch Screen. iPhone 14 Pro Max iOS 16.3.1 (video is from this system, but on 16.6 it happened for the same user too) He claims that the issue happens only when the app was turned off for a longer time (for example a day of inactivity). After this first longer broken launch, next launches works much faster and display launch screen properly.
1
0
611
Jul ’23
Why does iPhone 11 Pro Max does not support 4K 60 FPS video on a .buildInTripleCamera in AVFoundation?
I've got a code which is searching through all available camera devices in AVFoundation to select the best device supporting expected resolution and framerate. I am searching for 4K resolution (3840x2160) video running at 60 FPS on a rear camera. I am expecting to get a .buildInTripleCamera - just like a native camera app. Looks like there is no AVCaptureDevice.Format in .buildInTripleCamera that has 4k 60FPS. Only .builtInUltraWideCamera supports this. It is weird, because on a native camera app it is using 3 lenses, however when you start recording, you're limited to only 1 lens. I am trying to get as close to the native app as possible. Do you know how can I get triple camera enabled with 4k format running at 60 FPS?
0
0
659
Sep ’20