ios13

How to set iOS 13 glyphs programmatically [duplicate]

夙愿已清 提交于 2020-01-04 07:53:50
问题 This question already has answers here : How to use default iOS images? (3 answers) Closed 7 months ago . Starting with iOS 13, Apple is providing a bunch of glyphs which can be used "everywhere you can use an image". You can use SF symbols to represent tasks and types of content in a variety of specific places, such as navigation bars, toolbars, tab bars, context menus, and Home Screen Quick Actions. Throughout the rest of your app, you can use a symbol everywhere you can use an image. I

iOS 13 adds “trim.” prefix to files selected from UIImagePickController

被刻印的时光 ゝ 提交于 2020-01-04 06:12:40
问题 iOS 13 adds a trim. prefix when selecting a file from Photos: file:///private/var/mobile/Containers/Data/PluginKitPlugin/FPDLKFHEQ-4T56-3456-HTE2-39EK2KDJUR/tmp/trim.DFLSPD0F-32RE-UYI8-DFHA-DPFLEOW098UH.MOV Before iOS-13 was like this: file:///private/var/mobile/Containers/Data/PluginKitPlugin/FPDLKFHEQ-4T56-3456-HTE2-39EK2KDJUR/tmp/DFLSPD0F-32RE-UYI8-DFHA-DPFLEOW098UH.MOV This is an issue when passing the file URL to alamofire to upload the file to a backend server. It causes an "unknown

iOS 13 adds “trim.” prefix to files selected from UIImagePickController

情到浓时终转凉″ 提交于 2020-01-04 06:11:15
问题 iOS 13 adds a trim. prefix when selecting a file from Photos: file:///private/var/mobile/Containers/Data/PluginKitPlugin/FPDLKFHEQ-4T56-3456-HTE2-39EK2KDJUR/tmp/trim.DFLSPD0F-32RE-UYI8-DFHA-DPFLEOW098UH.MOV Before iOS-13 was like this: file:///private/var/mobile/Containers/Data/PluginKitPlugin/FPDLKFHEQ-4T56-3456-HTE2-39EK2KDJUR/tmp/DFLSPD0F-32RE-UYI8-DFHA-DPFLEOW098UH.MOV This is an issue when passing the file URL to alamofire to upload the file to a backend server. It causes an "unknown

ScrollView acting weired (Xcode 11 GM seed - SwiftUI)

主宰稳场 提交于 2020-01-03 05:26:29
问题 I was trying to make a custom list. And its acting weired if we add Encapsulated VStack in scrollView and try to add new row from that VStack. But we have to encapsulate because in Xcode will give "complex view complier error". I am providing full code for better understanding. Please try to run it. New element is not added as expected and its pushing everything upward. struct RowView: View { var body: some View { VStack{ HStack{ Spacer() .foregroundColor(Color.black) Spacer() } } .background

ScrollView acting weired (Xcode 11 GM seed - SwiftUI)

断了今生、忘了曾经 提交于 2020-01-03 05:26:29
问题 I was trying to make a custom list. And its acting weired if we add Encapsulated VStack in scrollView and try to add new row from that VStack. But we have to encapsulate because in Xcode will give "complex view complier error". I am providing full code for better understanding. Please try to run it. New element is not added as expected and its pushing everything upward. struct RowView: View { var body: some View { VStack{ HStack{ Spacer() .foregroundColor(Color.black) Spacer() } } .background

How to fix warning “CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: '(null)'”?

依然范特西╮ 提交于 2020-01-02 02:43:10
问题 I try to test app on iOS13 beta. When I tap button on welcome screen to segue to another screen app freezes and then terminates. When I debug in Xcode 11 i see following warning lines in console log [framework] CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: '(null)' [framework] CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: '(null)' and then after several seconds app terminates

Compiler error: Invalid library file - CoreLocation

那年仲夏 提交于 2020-01-02 01:08:09
问题 I have one of my application, that is created in Xcode 8. I have used CoreLocation and MapKit in that app. I have update app with latest iOS till now. and it was working fine. Now I am updating application with iOS 1 . So I hvae opened app with Xcode 11.0 and updated all the required code. Also updated setting that is suggested by Xcode "Perform Changes" and all that. Now I run application, but I am getting error like : Compiler error: Invalid library file . I have searched lot, but can't

How to set Keyboard type of TextField in SwiftUI?

拟墨画扇 提交于 2020-01-02 00:53:11
问题 I can't seem to find any information or figure out how to set the keyboard type on a TextField for SwiftUI. It would also be nice to be able to enable the secure text property, to hide passwords etc. This post shows how to "wrap" a UITextField, but I'd rather not use any UI-controls if I don't have to. How to make TextField become first responder? Anyone have any ideas how this can be done without wrapping an old school UI control? 回答1: To create a field where you can enter secure text you

Sign in with Apple - Different behaviour Simulator VS iPhone

。_饼干妹妹 提交于 2020-01-01 16:49:09
问题 I'm trying to setup Sign-in with Apple with Xcode (Beta 11.0 beta 6). Works great on simulator, but when I run it on my iPhone (iOS 13.1), I don't get the same display. On Simulator: On iPhone: This is how I call my "Sign in with Apple": - (IBAction)signInWithApple:(id)sender { if (@available(iOS 13.0, *)) { ASAuthorizationAppleIDProvider *appleIDProvider = [[ASAuthorizationAppleIDProvider alloc] init]; ASAuthorizationAppleIDRequest *request = [appleIDProvider createRequest]; request

How to set backgroundColor of UISegmentedControl to white in iOS 13

淺唱寂寞╮ 提交于 2020-01-01 04:58:06
问题 iOS 13 introduced some changes to the UISegmentedControl including a really nice animation when switching the selected segment. However I'm noticing that it's not displaying the backgroundColor property correctly, it always seems to have a bit of a tint to it. I've seen questions that answer how to set the selectedSegmentTintColor and such but I'm struggling to set the backgroundColor to say .white , no matter what I do it always shows up a bit of a gray even though there's no tintColor or