swift tag

599 questions


1 answers
49 views
0
How to process each cell in the collectionView

I am currently creating a list application in the collection view.I would like to display the information I entered in the transition destination (inputViewController) that I clicked on the cell in th...

2 years ago

2 answers
72 views
0
Swift3, I want to be able to open both pages when I swipe.

If you swipe with the Swipe Gesture Recognizer on Swift3, you can only open right (right-to-left screen transition) no matter which way you swipe.Please let me know if there is a way to transition the...

2 years ago

1 answers
30 views
0
Understanding Voice Recording Errors

When I press the recording button in the application that records sound (.wav), the following error appears.If there is anyone who can tell me, please take care of me.By the way, it's a voice extensio...

2 years ago

2 answers
32 views
0
"Func preferredInterfaceOrientationForPresentation() -> UIInterfaceOrientation" is not called when the application starts.

I would like to force ViewController to be displayed vertically when the application starts. func preferredInterfaceOrientationForPresentation()->UIInterfaceOrientation{ return.Portrait}is not call...

2 years ago

1 answers
42 views
0
ChildViewController.view.frame changes during screen rotation

class ViewController:UIViewController {letchildViewController: UIViewController= UIViewController()override func viewDidLoad(){ super.viewDidLoad() childViewController.view.backgroundColor=UIColor.gre...

2 years ago

1 answers
43 views
0
On iOS, I want to register tasks to be performed in a few hours to a few tens of days, and move the registered tasks even if the application process is turned off.

iOS appI have looked into various items below.However, I couldn't find anything to do what I wanted to do.DispatchQueueI was able to run in the background, but when I turned off the app process, it st...

2 years ago

2 answers
38 views
0
I want to use the local API of Nature Remo in swift.However, the status code 400 is displayed.

I'm writing a program because I want to use Nature Remo's local API, but it doesn't work.I wrote a program to send URL requests while referring to articles on the Internet.I was able to use the API on...

2 years ago

4 answers
32 views
0
I want to change the position of the button depending on the display size of the terminal (Swift)

Position the button on the StoryBoard.I would like to change it according to the display size of the application execution terminal.To change the positionbutton_Save.frame.origin.y+=100I thought it wo...

2 years ago

1 answers
48 views
0
I want to sort the dictionary by key.

I want to sort the dictionary and then convert it into an array, but I get an error with the code below.Commenting out the line self.cards=sortedDic.map{$0.value} produces a similar error, but the sor...

2 years ago

1 answers
44 views
0
Xcode 7.3.1 on macOS Sierra causes new project screen to collapse

I would like to create a project with Xcode 7.3.1, but the characters are misaligned and overlapped, so it looks like the image below.I reinstalled Xcode, but it didn't improve.Does anyone know how to...

2 years ago
« - 41 - »

© 2024 OneMinuteCode. All rights reserved.