mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Prevent keyboard from hiding description field in conference scheduling view
This commit is contained in:
parent
9fe2a38455
commit
b3f9c18f95
1 changed files with 8 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
import UIKit
|
||||
import Foundation
|
||||
import linphonesw
|
||||
import IQKeyboardManager
|
||||
|
||||
@objc class ConferenceSchedulingView: BackNextNavigationView, UICompositeViewDelegate {
|
||||
|
||||
|
|
@ -207,8 +208,15 @@ import linphonesw
|
|||
durationValue.setIndex(index: ConferenceSchedulingViewModel.shared.scheduledDuration.value!)
|
||||
timePicker.liveValue = ConferenceSchedulingViewModel.shared.scheduledDateTime
|
||||
descriptionInput.text = ConferenceSchedulingViewModel.shared.description.value
|
||||
IQKeyboardManager.shared().isEnabled = true
|
||||
}
|
||||
|
||||
override func viewWillDisappear(_ animated: Bool) {
|
||||
IQKeyboardManager.shared().isEnabled = false
|
||||
super.viewWillDisappear(animated)
|
||||
}
|
||||
|
||||
|
||||
func gotoParticipantsListSelection() {
|
||||
let view: ChatConversationCreateView = self.VIEW(ChatConversationCreateView.compositeViewDescription());
|
||||
let addresses = ConferenceSchedulingViewModel.shared.selectedAddresses.value!.map { (address) in String(address.asStringUriOnly()) }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue