Posts

Post not yet marked as solved
2 Replies
You haven't said what you did with .renderingMode(), but you need something like this: Swift: var imageConfig = UIImage.SymbolConfiguration.init(scale: (isCompact ? .medium : .large)) if #available(iOS 15.0, *){ imageConfig = imageConfig.applying(UIImage.SymbolConfiguration.init(hierarchicalColor: .tintColor))   imageConfig = imageConfig.applying(UIImage.SymbolConfiguration.configurationPreferringMulticolor()) } rtnImage = rtnImage.withRenderingMode(.alwaysTemplate) rtnImage = rtnImage.withConfiguration(imageConfig) SwiftUI; Image(uiImage: UIImage(systemName: getIconName(iconId: iconId))!) if #available(iOS 15.0, *){ .symbolRenderingMode(.multicolor) }
Post marked as solved
6 Replies
Still happening for CKBrowserSwitcherViewController in iOS 14.4 on iPhone XII.
Post not yet marked as solved
12 Replies
Same here: "ITMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path." Did anyone find a solution, Error messages really do need MORE detail than this. Surely the bot KNOWS which dylib are causing the error, why the secrecy? I have not changed any of the dylibs since the previous AppStore/TestFlight upload, why the complaint now?
Post marked as solved
2 Replies
Thanks OOPer, BOTH methods worked: I still have to check if the CoreData environment setting works with either/both, but very promising, and then decide the best/cleanest approach. The <AnyView> (https://developer.apple.com/documentation/swiftui/anyview) solution was particularly inspired. And works with the ManagedObjectContext passing, so using that. 👍
Post not yet marked as solved
1 Replies
Dear UIKit team, Throw us a bone here: setAnimationRepeatCount - Deprecated iOS13 - No advice on replacement setAnimationRepeatAutoReverses - Deprecated iOS13 However: UIView block based animation - NOT Deprecated UIViewAnimationOptionRepeat - NOT Deprecated UIViewAnimationOptionAutoreverse - NOT Deprecated UIViewPropertyAnimator - No Repeat Count Option Not ALL repeating animations are appropriate as springs!
Post not yet marked as solved
2 Replies
Ah yes! I’d forgotten that restriction. Moreover, CK doesn’t support many-many, so I guess it’s a unified work-around. Still surprised/confused/annoyed that PersistentCloudKitContainer doesn’t support UUID types; surely this would be a gift. If the manObj has a UUID use it, if not, generate the CD-Identifier. ¯\_(ツ)_/¯
Post marked as Apple Recommended
I cannot get Preview, or Widget in Sim with direct scheme to work at all with my VERY SIMPLE one line of text widget. [ProcessError: Failed to launch widget extension: The operation couldn’t be completed. (Foundation._GenericObjCError error 0.)] = Not entirely helpful. WRT the "code-along" (or rather: watch-someone-paste-huge-chunks-of-indecipherable-code-with-insufficient-explanation-along) examples, had an issue where the .widgetURL() was preventing the widget.content from showing in the preview: commenting-out allowed the gfx to show.
Post not yet marked as solved
1 Replies
I’m just getting to grips with this new paradigm myself, but I have tried using negative values for LayoutGroup.interItemSpacing to create a ‘static’ overlapping effect. You could also try changing the .zIndex to overlap is a different order.
Post not yet marked as solved
2 Replies
visibleItemsInvalidationHandler sounds like it’s got SOOOO much potential for amazing animations and layouts. Are there any code examples? Asking for a friend. 😜
Post not yet marked as solved
2 Replies
Correct, trying to use IB to instantiate the CompLayout object. I’ve set the Layout type to Custom, and the Class to my custom CompLayout class. InitWithCoder doesn’t seem to work. Thx
Post not yet marked as solved
6 Replies
Still, years later, this is not working as the 'docs' would suggest. Not only is the ID not unique across devices, it's not even unique across Apps on the same device. i.e. If I 'share' a CNContact, from the Contacts App, I get an identifier with :ABPerson suffix (***!) but link to THE SAME CNCONTACT from using the CNContactPickerVC it has a DIFFERENT indentifier WITHOUT the spurios :ABPerson suffix.Come on Apple! How are we supposed to use such a painful API?
Post not yet marked as solved
3 Replies
Actually you need to add "x86_64" to the valid platforms ("x86-64h" does not work).Like this:In the Project Navigator Pane: click the very top item - your project.In the Editor: Select the respective 'Target' Select the 'Build Settings' Tab Scroll down to "Architectures-&gt;Valid Architectures" Double-click on the list of architectures. Click "+" at the bottom of the pop-over. Type "x86_64" Click outside of the pop-over to dismiss.Now you should be able to combile for iOS on Mac.