Post

Replies

Boosts

Views

Activity

Reply to SF Symbols lost color (only black) in iOS 15 widget
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) }
Aug ’21
Reply to Error From itms Invalid Bundle - One or more dynamic libraries
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?
Oct ’20
Reply to How to Instantiate UIHostingController with CoreData??
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. 👍
Aug ’20
Reply to Repeating UIView animation a fixed number of times
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!
Jul ’20
Reply to Widgets Not Appearing in Simulator
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.
Jul ’20
Reply to CNContact identifiers
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?
May ’20