We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3e52ba commit 05af1b0Copy full SHA for 05af1b0
Sources/BarcodeScannerController.swift
@@ -224,7 +224,8 @@ open class BarcodeScannerController: UIViewController {
224
if #available(iOS 11, *) {
225
navigationBar.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor).isActive = true
226
} else {
227
- navigationBar.topAnchor.constraint(equalTo: view.topAnchor).isActive = true
+ navigationBar.topAnchor.constraint(
228
+ equalTo: topLayoutGuide.bottomAnchor).isActive = true
229
}
230
231
0 commit comments