1
- //
2
- // FormViewController.swift
3
- // CapturePlusControl 1
4
- //
5
- // Created by Henry Thomas on 02/12/2016.
6
- // Copyright © 2016 Henry Thomas. All rights reserved.
7
- //
8
-
9
1
import UIKit
10
2
import PCAiOSLib
11
3
@@ -14,7 +6,7 @@ class FormViewController: UIViewController, PCALookupViewDelegate {
14
6
override func viewDidLoad( ) {
15
7
super. viewDidLoad ( )
16
8
17
- let pcaView = PCALookupViewController ( licenseKey: " LL00-UU00-KK00-EE00 " ) ;
9
+ let pcaView = PCALookupViewController ( licenseKey: " 0000-0000-0000-0000 " ) ;
18
10
pcaView. addressDelegate = self ;
19
11
if !pcaView. isValid ( ) {
20
12
self . btnPCALookup. isHidden = true ;
@@ -28,7 +20,7 @@ class FormViewController: UIViewController, PCALookupViewDelegate {
28
20
@IBOutlet weak var txtPostcode : UITextField !
29
21
30
22
@IBAction func lookupAddressPressed( _ sender: Any ) {
31
- let viewController = PCALookupViewController ( licenseKey: " LL00-UU00-KK00-EE00 " ) ;
23
+ let viewController = PCALookupViewController ( licenseKey: " 0000-0000-0000-0000 " ) ;
32
24
viewController. addressDelegate = self ;
33
25
self . present ( viewController, animated: true , completion: nil ) ;
34
26
}
@@ -54,6 +46,8 @@ class FormViewController: UIViewController, PCALookupViewDelegate {
54
46
return .blue;
55
47
}*/
56
48
49
+ //Example of PCA extra fields
50
+
57
51
func pca_extraFieldFormats( ) -> [ String ] {
58
52
var formats = [ String] ( ) ;
59
53
formats. append ( " {Longitude} " ) ;
0 commit comments