Post

Replies

Boosts

Views

Activity

Reply to app cannot be installed because it's integrity could not be verified
yes same here, tried a bunch of stuff like that. it looks like it installs but then says Install again, and the app on the home screen of the phone has a little cloud icon w/ a download arrow on it. we found this other commentary on this problem. no solution for us yet but there are some ideas there: https://developer.apple.com/forums/thread/720033 i put in a call to support, they had not heard about this issue yet. weird thing, installed ok on ios15.6.1 but not ios15.4 ok it just worked (good test flight install) on my ios16.1.1 phone... weird. maybe it is fixed now? update: it only ran once after install. then when i tried to relauch the app, it showed the beta expired alert again.
Dec ’22
Reply to avassetreader convert hdr frames to proper colorized CIImages
FYI we got a half hour "office hours" appointment and after some chatter and trial and error, this method seemed to do the trick at extracting images from HDR / Dolby vids with better color. We don't know if it is the full answer yet, but it is definitely better. // prior to here, set up the AVAsset * asset // code is a bit of archaic ObjC syntax but it works NSArray* video_tracks = [asset tracksWithMediaType:AVMediaTypeVideo]; AVAssetTrack* video_track = [video_tracks firstObject]; NSMutableDictionary* dictionary = [[NSMutableDictionary alloc] init]; // kCVPixelFormatType_32BGRA (pixel format we originally used) // 420YpCbCr8BiPlanarFullRange (new pixel format that seems to work) // need to change the pixel format to this new one here, and also set the video color prop key below (which is 3 items in a dictionary) [dictionary setObject:[NSNumber numberWithInt:kCVPixelFormatType_420YpCbCr8BiPlanarFullRange ] forKey:(NSString*)kCVPixelBufferPixelFormatTypeKey]; dictionary[AVVideoColorPropertiesKey] = @{AVVideoColorPrimariesKey: AVVideoColorPrimaries_ITU_R_709_2, AVVideoTransferFunctionKey: AVVideoTransferFunction_ITU_R_709_2, AVVideoYCbCrMatrixKey: AVVideoYCbCrMatrix_ITU_R_709_2}; AVAssetReaderTrackOutput* asset_reader_output = [[AVAssetReaderTrackOutput alloc] initWithTrack:video_track outputSettings:dictionary]; // then proceed to normally walk thru frames of the video
Oct ’22
Reply to Using the personal Memoji sticker as the profile picture
we found a way to do it via the UITextView based on various notes online on the UITextView:  .allowsEditingTextAttributes = YES; (the above allows memoji to show in keyboard ; note that the user must have memoji switch on in his Settings/General/Keyboard) // subclass UITextView and override the paste: function (or modify the paste: function if you have it) // this is objC , swifties can figure out the swift // this handles memoji as image; there are rumors that you can get it as GIF but we havent tried that yet - (void)paste:(id)sender {     // handle memoji still image selection which results in a paste     UIImage *image = [[UIPasteboard generalPasteboard] image];     // you can use this image do put into a UIImageView or do whatever you want with it     // here we take it and put it in the UITextView     if (image) {           NSTextAttachment *textAttachment = [[NSTextAttachment alloc] init];           textAttachment.image = image;           NSAttributedString *string = [NSAttributedString attributedStringWithAttachment:textAttachment];           [self setAttributedText:string];     }     else {       // do ordinary paste stuff for regular text paste       [super paste:sender];     } }
Jul ’21