草庐IT

currentNumberAdmin

全部标签

ios - 无法将类型 'UILabel!' 的值转换为预期参数 'type inout String'

当我尝试增加currentNumberAdmin时,我得到:cannotconvertvalueoftype'UILabel!'toexpectedargument'typeinoutString'classadminPanel:UIViewController{@IBOutletweakvarcurrentNumberAdmin:UILabel!@IBActionfuncnextCurrent(_sender:UIButton){letdatabase=FIRDatabase.database().reference()database.child("current").observ