swift tag

599 questions


1 answers
156 views
0
The image captured by AVFoundation has a strange conversion.

I would like to use AVFoundation to capture the in-camera capture image, but the capture image is strange.I have attached an image.I captured my business card normally, but it looks like it's crushed ...


1 answers
148 views
0
What is the order of keyboard display and input start delete in Swift5TextView?

What is troubling me is the order in which modules are called regarding keystrokes.In TextView input, (1) @objc showKeyboard(2)textViewdidbeginEditingis referred to in the order shown in .I would like...

2 years ago

1 answers
118 views
0
In Xcode, the code that works in Playground does not run properly in the CommandLineTool project.

I wrote a simple code to make a GET request to githubAPI as follows.import FoundationLet url=URL (string: https://api.github.com/users/( hidden characters)!let get = URLSession.shared.dataTask(with:ur...

2 years ago

1 answers
84 views
0
How Swift Generates a CSV File

Make the selected data in the app a CSV file and Call Mailer, I would like to attach it to an email and send it to you.I don't know what to do.Even if I looked it up on my own, there was only a way to...

2 years ago

1 answers
96 views
0
I want to get brightness information from my iPhone camera.

I'd like to create an app that counts the number of moves (the number of push-ups) using real-time images from iPhone cameras.It's hard to find a way to handle brightness information, so I'd appreciat...

2 years ago

1 answers
99 views
0
I am creating customized cells on Swift5 but I get an error.

I'm going to use UICollectionView on swift5 and I'm going to use xlb for customized cells.I learned this module when I started Swift and made it, but I tried again to create a new app, but an error oc...


1 answers
153 views
0
Why can't I call the external JS function Window.hoge?

I am developing a Gawa native application using WebView at Swift.The UIViewController cannot send the value to the function declaring the value in the external JS.Why?With the code below, window.a() c...


1 answers
83 views
0
How Swift POSTs Voice Binary Data

I am trying to use Google Speech API for iOS applications using Swift.Below is a sample input from a local audio file: curl-X POST\--data-binary@audio/good-morning-google.flac\--header'Content-Type:au...

2 years ago

1 answers
37 views
0
Swift search capability

When implementing the search function with SwiftEven if you add the following code to the ViewController (SearchViewController) that you added to the Tab Controller, the data will appear without the c...

2 years ago

1 answers
39 views
0
The IBAction function of buttons placed in custom cells is not called.

·What you want to do I want to process (replace images) when buttons placed in custom cells are pressed.·Problems Pressing the button does not call the action function linked by IBAction.·Prepare file...

2 years ago
« - 28 - »

© 2024 OneMinuteCode. All rights reserved.