ios14
IOS 14 UNNotificationPresentationOptions.list, .banner vs alert
[.list] will only show the notification in the notification center (the menu that shows when you pull down from the top) [.banner] will only pop down a banner from the top like a normal push notification [.list, .banner] will do both: show the banner and also make sure it’s on the list. [.alert] does essentially … Read more
How to remove List Separator lines in SwiftUI
Here is a demo of possible solution. Tested with Xcode 12b. List { ForEach(0..<3) { _ in VStack { Text(“Hello, World!”).padding(.leading) } .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading) .listRowInsets(EdgeInsets()) .background(Color(UIColor.systemBackground))) } }
Xcode 12 build target in wrong order for simulator?
OK, i got a solution to make the build work (this way to fix problem is not correct , the right way to fix is added in my update): 1 you need to add the Pods project to your main project as a external project 2 add all the cocodpods target as dependency explicitly in … Read more
Failed to get descriptors for extensionBundleID
I resolved this problem. Clean Builder Folder(maybe it’s not necessary), then restart your iPhone. Run your project again.
iOS 14 Invalid frame dimension (negative or non-finite)
I think it might be a static analysis issue as .frame(width: p.size.width – padding) could result in a negative value. Try: .frame(width: abs(p.size.width – padding))