Post

Replies

Boosts

Views

Activity

Reply to Disable Dark Mode for iOS, iPadOS and macOS Catalyst App using Swift Programming Language
When I enter it, It itself automatically switches to key called 'Appearance' When the raw key UIUserInterfaceStyle is shown as Appearance in human readable mode, that means UIUserInterfaceStyle is (at least, once was) the supported key. Appearance doesn't have Light / Dark or anything... For many values taking String value, the value would not be shown automatically. When I enter it is info.plist it doesn't get accepted... You have not clarified what you have entered on what key...
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Disable Dark Mode for iOS, iPadOS and macOS Catalyst App using Swift Programming Language
I have entered 'UIUserInterfaceStyle' as a key but it automatically replaced by 'Appearance'... It is not a problem, it actually is held as UIUserInterfaceStyle internally. If you want to see the raw key, choose Raw Keys & Values on the context menu shown in the editor of Info.plist. If you are sure you set Light there and it causes error on archiving, or it has no effect for LaunchScreen.storyboard, please share your experience.
Topic: Programming Languages SubTopic: Swift Tags:
May ’21
Reply to Windows iOS Development
Is it possible to make, test, and publish an iOS/iPadOS app on Windows 10? NO. Using some hybrid frameworks, you can make and test (in limited range) an iOS/iPadOS app on Windows, but you cannot publish it unless you can use a Mac. So is there any alternative/port of Xcode on Windows?  NO.
May ’21
Reply to Protocol as return type
You mean, just treat it as a rule?  YES. It is not a description specific to this case, it is a general rule of protocol in Swift. The only exception I know is the protocol Error, which conforms to Error.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’21