Post

Replies

Boosts

Views

Activity

UIMenuController orientation
hi all, is it possible to control the orientation of the UIMenuController popup menu or does it always follow the status bar orientation like so many other things do? see attached. main app is in portrait but some uses are in a landscape mode. but the status bar is still portrait in this case. so we would like to force rotate the popup menu to be in landscape mode.
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
676
Jun ’23
NSKeyedArchiver ... can it skip a particular @property ?
hi all, I am trying NSKeyedArchiver to archive an ObjC object. is it possible to specify a particular @property of the class that is to archived so that the @property is not put into the archive? or just put it into the archive as nil or something innocuous like NSNull or something. e.g. i have a uidelegate @property in my class, but i dont want that put into the archive i guess i could nil this out manually before archiving, but i wonder if anyone knows a cool trick for this
1
0
589
Aug ’23
maccatalyst distribution profile generation broken?
previously (last year) I was able to generate provision profiles that matched to the *.maccatalyst.*com.* bundle id pattern. now when i try to generate a new mac provision profile because my prior profile expired, this site generates the profile for the iPad version of the bundle id pattern. e.g. without the .maccatalyst. portion of the bundle id. this is not usable for code signing of the mac app since the bundle id does not match. what is going on with this?
0
0
609
Apr ’21
other apps holding on to mic in background?
is it possible for other iOS apps to hold onto microphone access when those apps are in the background? we see some cases where our app cannot get mic access (e.g. we can record video but we get no sound) and we think it might be another app such as Telegram "holding onto" the mic, because when we quit all other apps, our app works ok. this seems like an odd failure mode. any hints how to fix it?
0
0
992
May ’21
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
694
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
614
Feb ’22