@@ -51,7 +51,9 @@ controller.dismissalDelegate = self
5151presentViewController (controller, animated : true , completion : nil )
5252```
5353
54- <img src =" https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleScanning.png " alt =" BarcodeScanner scanning " align =" center " />
54+ <div align =" center " >
55+ <img src =" https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleScanning.png " alt =" BarcodeScanner scanning " width =" 270 " height =" 480 " />
56+ </div ><br />
5557
5658You can also push ` BarcodeScannerController ` to your navigation stack:
5759
@@ -110,7 +112,9 @@ extension ViewController: BarcodeScannerDismissalDelegate {
110112When the code is captured ` BarcodeScannerController ` switches to the processing
111113mode:
112114
113- <img src =" https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleLoading.png " alt =" BarcodeScanner loading " align =" center " />
115+ <div align =" center " >
116+ <img src =" https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleLoading.png " alt =" BarcodeScanner loading " width =" 270 " height =" 480 " />
117+ </div ><br />
114118
115119While the user see a nice loading animation you can perform some
116120background task, for example make a network request to fetch product info based
@@ -128,7 +132,9 @@ func barcodeScanner(controller: BarcodeScannerController, didCapturedCode code:
1281322 . Show an error message and switch back to the scanning mode (for example,
129133when there is no product found with a given barcode in your database):
130134
131- <img src =" https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleError.png " alt =" BarcodeScanner error " align =" center " />
135+ <div align =" center " >
136+ <img src =" https://github.com/hyperoslo/BarcodeScanner/blob/master/Art/ExampleError.png " alt =" BarcodeScanner error " width =" 270 " height =" 480 " />
137+ </div ><br />
132138
133139``` swift
134140func barcodeScanner (controller : BarcodeScannerController, didCapturedCode code : String ) {
0 commit comments