Posts

Post not yet marked as solved
5 Replies
3.9k Views
I wanted to know how would I set up Apple Pay in my app, and also in-app purchases. I already have the prices I want. So how would I do this? I have my app set up so you select a type of ride and ride length then it takes you to a PriceView where it shows what you selected and how much it cost. I want it so that when you are in the PriceView and you tap the book button it asks you to pay.
Posted
by Joel14.
Last updated
.
Post marked as solved
9 Replies
6.6k Views
I have a label with a minus and plus button beside it. What I want it to do is increment the value of the label by 1 if the plus button is tapped, and subtract 1 if the minus button is tapped.
Posted
by Joel14.
Last updated
.
Post marked as solved
6 Replies
3.6k Views
I have a UIImageView and four buttons below it. Once the user taps one of the buttons it sets the image in the image view. The problem is I want to add constraints to the images in the image view. I added the images programmatically the code for one of the buttons looks like this:overridefunc viewDidLoad() { super.viewDidLoad() let defaults = UserDefaults.standard goldImageView.image = UIImage(named: "gold with Text" } @IBAction func gold(_ sender: Any) { goldImageView.image = UIImage(named: "gold with Text") }
Posted
by Joel14.
Last updated
.