The application was running well before watchOS4 but in watchOS4 there is extra black space is visible on top of WKInterfaceController. This case happens in present WKInterfaceController only but seems working fine if I try to push WKInterfaceController.
Case 1 :
self.presentController(withNames: ["XYZ", "ABC"], contexts: nil)
See below image there is extra bar below the title.
Case 2:
self.pushController(withName: "XYZ", context: nil)
Working fine in push method(no extra space in watchOS4).
PS: I have tried new present method also:
self.presentController(withNamesAndContexts: [(name: "XYZ", context: [:] as AnyObject)])
Also if I am trying to present single interface controller then it works perfect, only cause when in I am trying to present multiple interface controllers(in the page).
We have contacted Apple regarding that issue. Thay told us that it's a bug in watchOS and will be resolved soon.
PS: Don't waste your code level support for this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With