Post

Replies

Boosts

Views

Activity

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
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
669
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
575
Aug ’23
migration path for setStatusBarOrientation:
we used to use code such as this to make sure the keyboard comes up in a desired orientation [[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO]; however, apple has no-op'd setStatusBarOrientation: it still can be called, but it gives a warning that it no longer does anything as of iOS13 does anyone know the recommended replacement path for this feature?
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
478
Dec ’20
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
604
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
980
May ’21