Posts by Brenno Hayden • 173 points
10 posts
-
2
votes1
answer60
viewsA: Removing the Dictionary object on condition - Firebase - Swift
Try this. struct Combustivel: Codable { var enable: String? var dataAbastecimento: String? var valorTotal: String? var litroTotal: String? var kmAtual: String? var combustivel: String? var consumo:…
-
0
votes2
answers80
viewsA: How to handle errors in Wkwebview IOS Swift
You need to use the Reachability import UIKit import WebKit import SystemConfiguration class ViewController: UIViewController { @IBOutlet weak var webView: WKWebView! override func viewDidLoad() {…
-
0
votes1
answer45
viewsA: Webview does not capture gestures
The way of webView loadURL does not compile, You need to use the method load import UIKit import WebKit class ViewController: UIViewController { @IBOutlet weak var webView: WKWebView! override func…
-
1
votes1
answer67
viewsA: Array View
You need to define the dentifier of Tableviewcell on the storyboard.…
-
0
votes2
answers190
viewsA: Uitableviewcontroller with Swift and JSON Displaying repeated values
I think it might help and improve your code. Viewcontroller import UIKit class ViewController: UIViewController { @IBOutlet weak var tableView: UITableView! var dataSource: [MyLocationModel]!…
-
3
votes2
answers39
viewsA: Uilongpressgesturerecognizer does not work with my Uiimageview
imageview.userInteractionEnabled = true Add this code to your viewDidLoad, I believe that this should
swiftanswered Brenno Hayden 173 -
3
votes1
answer88
viewsA: Uiscrollview rolling when displays keyboard - Swift
I resolvo this problem using Iqkeyboardmanager Very quiet to use and you will not have these problems.…
-
2
votes1
answer258
viewsA: Error installing Onesignal plugin on iOS platform using IONIC FRAMEWORK
Try to do these procedures cordova platform remove ios cordova platform remove onesignal-cordova-plugin sudo gem install cocoapods pod repo update pod setup (caso precise sincronizar o repositório…
-
0
votes1
answer325
viewsA: Input type file in webview - Xcode
You need to add permissions to the file Info.plist.. Camera: Key : Privacy - Camera Usage Description Value : $(PRODUCT_NAME) camera use Photo: Key : Privacy - Photo Library Usage Description Value…
-
3
votes1
answer70
viewsA: Uicollectionviewcontroller 3 columns auto layout
Try this. Mycollectionview.Swift self.collectionView.delegate = self self.collectionView.dataSource = self collectionViewLayout = CustomFlowLayout() collectionView.collectionViewLayout =…