swift tag

599 questions


1 answers
41 views
0
Get the average daily number of steps in Swift 3.0

I would like to get daily steps with Swift 3.0.However, I don't know how to retrieve data daily or one month ago.How do I get the average daily number of steps for HealthKit and data from a month ago?...

2 years ago

1 answers
135 views
0
Graphical UIView Animation

I want to create a circular view so that the color of the border line is repeated endlessly from red to blue and from blue to red.The following method changes from red to blue, but it stops and does n...

2 years ago

1 answers
108 views
0
How to post images and text in UIButton

I use the original image in UIButton to create a custom button, but I can't put the image and text together.Buttons only display images.How can I display the text on the button?Thank you for your coop...

2 years ago

1 answers
101 views
0
AES128 Encryption/Decryption Swift3 Support

The following encryption and decryption methods are compatible with swift3.It now crashes when converting the return value to String.swift 2.2 func AES 128 Crypt(data:NSData, keyData:NSData, operation...

2 years ago

1 answers
41 views
0
DATA DELIVERY METHOD BETWEEN PLURAL SCREENS

I'm using Swift to create an app.One page allows the user to enter numbers, and I would like to have the numbers entered by the user displayed on another page.I'm a beginner at Swift, but I'd like you...

2 years ago

1 answers
120 views
0
To change the hue of multiple filters in a single UISlider

While the image selected from the camera roll is depicted in imageView, the function of filtering sepia or black and white by tapping the button is implemented.In addition, we would like to implement ...

2 years ago

1 answers
139 views
0
Information on how to open a map application (GoogleMaps) with a URL scheme on iOS and provide route guidance with multiple transit points.

let urlStr:String=comgooglemaps-x-callback://+?f=d&saddr=35.681298,139.766268&daddr=35.658598,139.745454+&x-success=source://?resume=sourceap;sour=AirportppUIAApplication.sharedApplication...

2 years ago

1 answers
120 views
0
Is there a way to fix the decimal point on the DecimalPad keyboard?

There are some localization applications that specify the DecimalPad on the keyboard.iOS Settings If I select Italy as the format setting of the app, the DecimalPad period will be comma, but this is a...

2 years ago

1 answers
40 views
0
I want to declare the UILabel as an array, but it doesn't show well.

I've been doing an objective-c program for about 3 years.I started studying swift the other day.// Declare 3 UILabelsvarlbLines = [UILabel] (count: 3, repeatedValue: UILabel())for i in 0...2 { // Side...

2 years ago

1 answers
73 views
0
How to delete a button when the "Game" condition is met

I'm a beginner at Swift.We are currently trying to develop a simple game application, with 5 buttons (provisional) on the screen, a concept of winning or losing, and when you tap on the outside, the i...

2 years ago
« - 11 - »

© 2024 OneMinuteCode. All rights reserved.