我一直在尝试解决所有堆栈溢出问题,但没有一个解决方案有效。classToastView:UIView{staticfuncshowInParent(parentView:UIView!,withTexttext:String,forDurationduration:double_t){//Counttoastviewsarealreadyshowingonparent.MadetoshowseveraltoastsoneaboveanothervartoastsAlreadyInParent=0;forviewinparentView.subviews{if(view.isKindOf