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
Replies
Boosts
Views
Activity
Does no-one on the CoreData team know the answer to this basic question??
Still happening for CKBrowserSwitcherViewController in iOS 14.4 on iPhone XII.
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?
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. 👍
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!
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. ¯\_(ツ)_/¯
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.
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.
visibleItemsInvalidationHandler sounds like it’s got SOOOO much potential for amazing animations and layouts.
Are there any code examples? Asking for a friend. 😜
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
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?