swift tag

599 questions


1 answers
28 views
0
When UIImagePickerController allowsEditing=YES, the ratio of background transparent png resize is strange.

I think crop can be done when UIImagePickerController allowsEditing=YES, but if you resize the background transparent png, the ratio of images will be strange.I will crop this original image like the ...

2 years ago

2 answers
114 views
0
UIImage→ NSData Conversion Questions

You are trying to convert the UIImage object to the NSUserDefaults type in order to save it to NSUserDefaults.Use the UIImagePNGRepresentation or UIImageJPEGRepresentation methods to I understand that...

2 years ago

1 answers
25 views
0
When you embed a variable in a string with swift

When you embed a variable in a string with swift, for example, let item=Golden Swordprint(The item you got is \(item))You can just embed \() in the string, but somehow it doesn't work.\(()) ← Why woul...

2 years ago

1 answers
31 views
0
Is there a way to list swift compiler warning at the terminal?

Xcode lists the swift compiler warning in the project, but I'd like to list it at the terminal.This is because I want to grep.

2 years ago

2 answers
64 views
0
I want TableView to be in edit mode with animation without editButtonItem

We have switched the Table view from the buttons on our own navigation bar to edit mode as shown below.However, when I used editButton, there was an animation with a red button on the left that went i...

2 years ago

2 answers
43 views
0
TERMINAL RESOLUTION ACQUISITION METHOD FOR iOS

http://www.dorapro.co.jp/engineerblog/?p=255iPhone 6 Plus/iPhone 6s Plus 5.5 inch 1920 x 1080 16:9 onI want to get the screen resolution as terminal information by Swift, but I don't know how to get i...

2 years ago

2 answers
29 views
0
Understanding Errors in the stringByAppendingPathComponent

An error occurs when configuring the path.How should I rewrite this?If there is anyone who can tell me, please let me know.Regarding the update of the questionnaire, the return value of getCacheDirect...

2 years ago

1 answers
88 views
0
After detecting the UIImageView tap with Swift, I want to transition to the detail screen.

I set up two UI ImageViews on the storyboard, each with the same image.I set the tag to 1 and 2 respectively.@IBOutlet weak variv2:UIImageView!@IBOutlet weak variv:UIImageView!override func viewDidLoa...

2 years ago

1 answers
49 views
0
I want Swift to omit the NavigationController title if there are more than a certain number of characters.

The title displayed in the Navigation controller is I am troubled that it looks like the attached image below.What you want to do is to display <Back, which is displayed by default on the Navigatio...

2 years ago

1 answers
33 views
0
How do I identify a bug that I don't know the cause?

We make all the apps and run them on the actual machine.I have confirmed that all functions work as expected without any problems with the actual machine.However, if you use the app on the actual mach...

2 years ago
« - 51 - »

© 2024 OneMinuteCode. All rights reserved.