Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Presenting multiple WKInterfaceController(in page base navigation) cause extra black space on top in watchOS4.

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.

enter image description here

Case 2:

self.pushController(withName: "XYZ", context: nil)

Working fine in push method(no extra space in watchOS4).

enter image description here

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).

like image 259
Tejas Ardeshna Avatar asked Sep 19 '17 12:09

Tejas Ardeshna


1 Answers

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.

like image 161
Tejas Ardeshna Avatar answered Sep 28 '22 01:09

Tejas Ardeshna