Post

Replies

Boosts

Views

Activity

Problem with status bar moving horizontally in apps that only support portrait
Our app supports only portrait mode. And in some cases, the status bar moves horizontally, as shown in the video below. We have confirmed that this problem does not appear in OS versions 15.3.1 and lower. The problem occurs on OS 16 and 17. https://youtu.be/CiR5LcoBI5c At the point when the problem appears, the code simply subscribes to data through the interval scheduler. The code is below: At that point, set autoUpdate to true. private let autoUpdateTimer = Observable<Int>.interval(.seconds(20), scheduler: MainScheduler.asyncInstance) private var autoUpdate = BehaviorRelay<Bool>(value: false) autoUpdateTimer .withLatestFrom(autoUpdate) .filter { $0 } .withLatestFrom(Observable.combineLatest(deviceSeq,currentChannel,channel) .map { ($0.0, $0.1, 1, $0.2?.property?.unitCount ?? 1) } .flatMap(dependency.usecase.pubAutoStatus) .subscribe().disposed(by: disposeBag) I would appreciate any feedback on how I can resolve this.
1
0
256
Aug ’24