Post

Replies

Boosts

Views

Activity

install shortcut in app?
is there any recommend way to install a shortcut link in an app to make it easy for the user to get at it? or is maybe just a regular link that opens in a webview the only/best way? these type of automation shortcuts:: https://support.apple.com/guide/shortcuts/welcome/ios
0
0
684
Sep ’21
CreateML raw predictions output
i am using the tabular regression method of CreateML. i see where it prints a couple of metrics such as root mean square error on the validation data, but i dont see any way to export the raw fitted numbers (e.g. training prediction), or validation numbers (e.g. validation prediction), or out of sample "testing" numbers (from the testing data set). is this possible in CreateML directly? the reason this is necessary is that you sometimes want to plot actual versus predicted and compute other metrics for regressions.
0
0
596
Feb ’22
siri privacy hint
for those of you who have clients who are concerned with privacy, note that you have to go into system prefs in your mac and dig into the "siri suggestions and privacy" and shut off sirl for all the apps listed there, if in fact you don't want siri scanning your data. it is not enough to shut off "enable ask siri" at the top level. i found this out when siri scanned open safari pages and wanted to add things to my calendar. what? apple must have hired some google employees, heh.
0
0
822
May ’22
header path search rules and Xcode settings for ObjC
sometimes i get external modules to integrate using the <path/file.h> form for header file paths (even tho they are not apple framework or system files). sometimes i get them with the "path/file.h" form. sometimes they work. sometimes they don't. there are many header file settings in the xcode build settings. i count at least 11 settings for header search paths in xcode. there may be more. does anyone have a definitive Apple guide to all this complexity with respect to ObjC headers in one place? every time there are header file search problems, it seems to involve a random process of changing various settings until everything builds, but that seems to be the wrong way. it also takes a long time.
0
0
859
Oct ’22
UITabBarItem image control when in the "More..." overflow VC
hi all, we are using the UITabBarItem (s) with custom images, works great when the tab bar items are actually in the bottom tab bar, using the special mode of [... imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; however, when we have overflow tabs that show in the More... view controller, the tab bar images show as a solid rectangle any tricks to solve this? see attached, bottom tab is great, but the top More... controller ... not so great
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
841
Oct ’22
[PHAsset fetchAssetsInAssetCollection: ... ] notably slower in ios16+ ?
has anyone noticed this query being a lot slower in newer iOS versions? we try to get counts of all assets in all asset collections (folders) to display in a selector table for the user to select an album to work with, and it seems to be lagging recently when there are a lot of assets involved maybe some of the assets are on iCloud? not sure. getting user reports of speed issues. we are trying to set .fetchLimit in fetch options to a number like 1000 or so to keep it from scanning all assets as a test to see if we get fewer complaints, but will have to wait for user feedback and our tracking metrics to see if it speeds up or not on real user devices with lots of photos. regarding counts, we are seeing users with 100k+ assets on a device (photos & videos).
0
0
1k
Nov ’22
AVAssetReader "cannot decode" error for ProRes icloud video sync'd to non ProRes phone
hi all, getting an error reading ProRes vid on a non ProRes phone (12 mini) video was sync'd via icloud to the 12mini video plays ok in the apple photos app, but our asset reader is puking on it the same code works ok on the phone where the pro res video was made AVAssetReader * asset_reader = [[AVAssetReader alloc] initWithAsset:asset error:&error]; NSMutableDictionary* dictionary = [[NSMutableDictionary alloc] init]; [dictionary setObject:[NSNumber numberWithInt:/*kCVPixelFormatType_420YpCbCr8BiPlanarFullRange*/ kCVPixelFormatType_32BGRA] forKey:(NSString*)kCVPixelBufferPixelFormatTypeKey]; AVAssetReaderTrackOutput* asset_reader_output = [[AVAssetReaderTrackOutput alloc] initWithTrack:video_track outputSettings:dictionary]; [asset_reader addOutput:asset_reader_output]; [asset_reader startReading]; asset reader error code is: (NSInteger) $1 = -11833 localized msg = "Cannot Decode" note that i had tried a different recommended pixel format instead of the older BGRA we wer using (commented out). didn't work either. this is older code. anyone see this, know of workarounds?
0
0
1k
Jan ’23
new mac catalyst app, "app is incompatible with the current version of macOS"
hi all, i have made mac catalyst apps before and they were fine. now i try to make a new one (converting an iOS app over to catalyst) in xcode14.2 and i get the above error msg when trying to run on mac intel locally. however, i seem to have the mac os deployment targets set to a slightly older version of macos than i have installed on the run target mac. what is new in catalyst setup that i am missing? the setup seems a little different in the xcode UI than before so maybe there are some new hidden tricks to get this to work?
0
0
712
Apr ’23
mac app store search by app name fail
hello I am confused about mac app store search rules i released a new mac app last week and it still does not show up when i type the exact app name as a search. does the mac app store not use the app name automatically as a keyword? app name = SimplML if anyone at apple wants to analyze why it is not showing up since it is a non standard spelling, one would think it would pop up at the top note: mac app store, not iOS store
0
0
632
Jun ’23