Posts

Post not yet marked as solved
1 Replies
469 Views
Hello, I'm creating a widget to display some data for a selected account (from a larger list of accounts). A dynamic intent allows the user to select the account to display in the widget from this list. I have this working just fine. I'd like to allow the Medium version of this widget to display 2 selected accounts, and a Large widget to display 4 selected accounts. From WWDC video I thought I could enable the Array (Supports multiple values) property of the parameter in the intent definition, with Fixed Sizes set to Small=1, Medium=2, Large=4. For example, the user could configure the 2 accounts to display on a Medium widget, the 4 accounts to display on the Large widget, etc THE PROBLEM: Whenever I specify an Array type for the single account selection parameter, it appears Springboard crashes when the user goes to add an initial instance of the widget to the Home screen, i.e. I can long-press and click + to get to the widget gallery ... but within moments this screen goes blank (with a spinner) and resets back to lock screen. As soon as I turn off the Array property of the parameter, it goes back to working correctly but without the desired configurability. QUESTION: Are Array parameters supposed to work with WidgetKit?
Posted
by Vertifi.
Last updated
.
Post marked as solved
4 Replies
6.1k Views
An existing framework library workspace compiles without error when targeting iOS device architecture, but when targeting Simulator I receive the following error: in /Users/chris/Downloads/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.ios.a(floatditf.c.o), building for iOS Simulator, but linking in object file (/Users/chris/Downloads/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.ios.a(floatditf.c.o)) built for iOS, file '/Users/chris/Downloads/Xcode-beta 3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.ios.a' for architecture arm64 As this error is referencing platform code I suspect there is some flaw in the Xcode beta (I didn't have this issue with beta 2). Has anyone else seen this?
Posted
by Vertifi.
Last updated
.
Post not yet marked as solved
1 Replies
1k Views
ViewController code like this allows our app to present certain view controllers in landscape only mode:override var supportedInterfaceOrientations: UIInterfaceOrientationMask { return UIInterfaceOrientationMask.landscape }this doesn't appear to be working in iOS13, has anyone else seen this?Thanks in advance!
Posted
by Vertifi.
Last updated
.