Post

Replies

Boosts

Views

Activity

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
839
Oct ’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
macos app non-store distribution question / hardened runtime
i would like to code sign a mac app but leave out the hardened runtime business because some third party libraries (python-related if it is important) are causing troubles with that. e.g. the benefit of code signing is that it keeps people from modifying the app contents. this is of course a benefit even without the hardened runtime. is there a way to do this any more? it seems like it used to be an option. i realize this requires non app store distribution.
4
0
1.1k
Oct ’22
AVFoundation error -11829 "Cannot Open" (random-ish fail on same url)
trying to use AVPlayer on a remote (https:) mp4 file. randomly we get the above error on the exact same url. works fine on other urls. sometimes works on the failing url. no clue what is going on. "cannot open" is not a descriptive error message. the url plays fine in a browser. the random fail happens on some other URLs also. is there some way we can get more detailed error notes on what is causing the failure? using latest ios15.x update on iphone12 mini. does not seem to fail on iphone X (same ios level). which is also strange.
3
0
1.6k
Sep ’22
"your session has expired, please log in"
i repeatedly am getting this message for 1 account when trying to upload to the app store from xcodei tried to delete the account and re-login, and tried xcode7.3 and xcode8i am able to log in to developer.apple.com and itunesconnect.apple.com with this accountand i am able to log in to xcode with a different accountthe account seems up to date (contracts accepted, etc)any one have any clues as to what is going on?
26
0
21k
Jul ’22
bundle identifier null
i am getting this error when i added a new app extension (notification content) error: Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier. Embedded Binary Bundle Identifier: (null) i have set it up the same way as another app extension in the app. i have also tried to set the bundle id manually in the info.plist file as noted by some posts, but xcode keeps changing it back to the default of ${PRODUCT_BUNDLE_IDENTIFIER}. e.g. my manual edits to info.plist aren't being accepted for this key. it seems like maybe PRODUCT_BUNDLE_IDENTIFIER variable is getting cleared to null for that extension during the build process? any workarounds?
1
0
1.9k
Jul ’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
820
May ’22
neural engine for model training?
Can anyone clarify which devices or chips the so-called "neural engine" can be used for machine learning model Training? As opposed to inference (or prediction)? And can external libraries such as Tensorflow (perhaps via the browser-based javascript library) access the neural engine in any manner for training or inference?
1
0
2.4k
Mar ’22
imessage extension not getting touch events
hi all, trying to create an imessage extension example based upon the Hello World story board that shows up when you create the extension. if i add a button to the hello world story board, and hook up the button to a method, i dont seem to be getting any tap events on that button. i tried also creating a button manually with [UIButton buttonWithType] and adding a target to it...the buttons show up, but they don't take tap events. i used the UI examiner in xcode, and touch events seem to be enabled on all views in the imsg extension view stack. i do see a strange message in the xcode console which i havent seen before: [PPT] Error creating the CFMessagePort needed to communicate with PPT. any ideas? PS: this is on simulator. i tried on device, same behavior. no touch events.
1
0
3.1k
Feb ’22
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
595
Feb ’22
CIToneCurve spline formulation?
Can anyone from apple provide the spline formulation that is used in the CIToneCurve filter?The documentation says that a spline is passed thru the points you give it, but thereare a lot of spline types in the world, and they all can yield different shapes thru the same set of points.
1
0
781
Dec ’21