Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged swift

0 votes
1.1k views
1 answer
    I was following this tutorial on how to create radio button group. But it seems Radio Group is no longer ... like this: Thanks very much. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
950 views
1 answer
    It seems that Apple has moved a lot of the app configurations to the App path with iOS 11, how to open the ... : NOT how to open the settings See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    After update to Swift 5.2 / Xcode 11.4 got a warning to following code: extension Data { init<T>(from value ... and clean it in the future? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Here is a fun issue I'm running into after updating to Swift 2.0 The error is on the if let url = ... (url) } } return false } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    This worked in the first beta of Swift. var degree = "u00B0" // degree symbol Now I'm getting this ... code in braces after unicode escape See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I have created a very simple scene ("SpeechScene") using Reality Composer, with a single speech callout object (" ... this possible? Thank you! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    The docs for RealityKit include the structs: OcclusionMaterial, SimpleMaterial, and UnlitMaterial for adding materials to ... other 3D software? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am trying to use the new large title system in iOS 11 using Swift. When the title gets too long (see ... .title = "Search by Name" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
926 views
1 answer
    There are cases where you forgot to set a value (so it's actually a bug), and running the program ... unwrapping is suitable for everything.) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    This is a bit of a head banger (for me). Basically I want to have 2 different singletons that inherit from ... be lost between doom and death. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
960 views
1 answer
    I am using ios-charts library. I would like to group my inverter values so that each year is one group. ... Thanks for any hint on this! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I've spent almost a couple of hours to figure it out. However, it did not happen and finally, I had to ... little nervous and curious about it. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
940 views
1 answer
    I have implemented login through facebook using facebook SDK for swift. It works as expected on iOS 10.3, but ... GitHub. Still does the same. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I just converted to beta 3 and my previously working SwiftUI code is now rendering a plain black screen. ... window window.makeKeyAndVisible() } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
866 views
1 answer
    This seems to be specific to iOS 13.1, as it works as expected on iOS 13.0 and earlier versions to ... performed and keyboard is not dismissing. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
968 views
1 answer
    When I try to get my keyChain value, it return a string containing: Optional("[thing in the KeyChain]") ... -ios-keychain-swift-save-query/ See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    After updating device to iOS 13 input suggestion for inputField(UITextField). Like email, phone number, first ... = .emailAddress and See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    What I'm trying to achieve I'm trying to create a SwiftUI view where an image should expand the entire screen ... view only fill the screen? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
957 views
1 answer
    How do I assert a button exists by his accessibilityLabel or identifier? func testExitsButton() { XCTAssertTrue( ... the accessibilityLabel? } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm using swift with ios 8.3. I want to open settings app from my application. I know that using the code ... Is there any way to acheive this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I need to test if an expression which returns an optional is nil. This seems like a no-brainer, but here is the code ... }) ?? false { } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
907 views
1 answer
    In Swift 1.2 there is a Set object, which you can use to create a static typed Set. I cannot find out how ... a SetIndex with a certain 'index'? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am trying to simulate mouse click on iphone simulator from macos App for that I am using CGEvents . ... 33554) keyboardUp?.postToPid(33554) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
949 views
1 answer
    I need disable some elements from my chart. I used the iOS-charts library in (Swift 2), however I can' ... color square Hide all vertical lines See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    [TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you' ... the latter. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
910 views
1 answer
    I'm trying to share an image using standard UIActivityViewController, it's fine to share on Facebook, Twitter and ... Is it possible at all? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm testing my audioApp on my iPhone6 Plus, and it crashes after plug headphone in or out. ... uncaught exception of type NSException See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm opening a NSPopover with the action of an icon in the status bar. myPopover.show(relativeTo: button.bounds ... distance from the system bar? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...