Posts

Post not yet marked as solved
1 Replies
1.6k Views
Hello! I have question, thank for any info! I know for the security reason UID of card (in wallet) changing, how about pass and tickets? Them UID will change as well or i can make it static through some frameworks?
Posted
by NikitaDen.
Last updated
.
Post marked as solved
2 Replies
4k Views
Hello, i am confused about commission fee. There is 2 situations. There is some game in appstore, you can buy some coins, health, and so on in in-app purchase. Therefore Apple takes 15-30% commission There is pizzeria, they have app, where you can order a pizza, and pay with apple pay in app as well. So Apple takes commission for this purchase or not? And what should i do and use, if i want create pizza app
Posted
by NikitaDen.
Last updated
.
Post not yet marked as solved
0 Replies
685 Views
when i use shortcuts -> automatization-> creat automatization -> NFC. My iphone can see my tag. But when I create my own project with coreNFC to detect nfc tag, my iphone cant see my tag, but it see other tag. Tag mifare import UIKit import CoreNFC class ViewController: UIViewController, NFCTagReaderSessionDelegate {     @IBOutlet weak var UIDLabel: UILabel!     var session: NFCTagReaderSession?     override func viewDidLoad() {         super.viewDidLoad()         // Do any additional setup after loading the view.     }     @IBAction func CaptureBtn(_ sender: Any) {         self.session = NFCTagReaderSession(pollingOption: .iso14443, delegate: self)         self.session?.alertMessage = "Hold Your Phone Near the NFC Tag"         self.session?.begin()              }     func tagReaderSessionDidBecomeActive(_ session: NFCTagReaderSession) {         print("Session Begun!")     }     func tagReaderSession(_ session: NFCTagReaderSession, didInvalidateWithError error: Error) {         print("Error with Launching Session")     }       func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) {         for nfcTag in tags {             print(nfcTag)         }     } }
Posted
by NikitaDen.
Last updated
.
Post marked as solved
4 Replies
3.1k Views
Hello! I am creating UIView (subview of main view) and I want to add gradient for background, but I don't use CGRect for create UIView only autolayout therefore my UIView has coordinates 0, 0, width 0 and hight 0. So when I try to use addSubLayer nothing happen. What should I do? //gradient var gradient: CAGradientLayer = {         let gradient = CAGradientLayer()         gradient.colors = [             UIColor(red: 25/255, green: 25/255, blue: 186/255, alpha: 1).cgColor,             UIColor(red: 177/255, green: 146/255, blue: 125/255, alpha: 1).cgColor         ]         gradient.startPoint = CGPoint(x: 0, y: 0.5)         gradient.endPoint = CGPoint(x: 1, y: 0.5)         return gradient }() //UIView var win: UIView = {     let view = UIView()     view.translatesAutoresizingMaskIntoConstraints = false     view.layer.addSublayer(gradient)     gradient.frame = view.bounds     return view }() //layout func winConstraint(_ collections: UICollectionView, _ view: UIView, _ btn: UIView) {     btn.leftAnchor.constraint(equalTo: view.leftAnchor, constant: 25).isActive = true     btn.rightAnchor.constraint(equalTo: view.rightAnchor, constant: -25).isActive = true     btn.topAnchor.constraint(equalTo: collections.bottomAnchor, constant: 8).isActive = true     btn.heightAnchor.constraint(equalToConstant: 100).isActive = true } //from ViewController view.addSubview(win)
Posted
by NikitaDen.
Last updated
.
Post marked as solved
1 Replies
446 Views
Hello everybody! Thx for any info. I have NFC key. When i go to shortcuts on my iphone xr and make scan nfc, my iphone find my nfc key tag, so i think iphone can read this tag. But when i download app from appstore, I tried 10 - 12 different apps. This apps cant see my nfs tag. Why?
Posted
by NikitaDen.
Last updated
.