草庐IT

android - Release build crashlytics 不在崩溃报告中发送行号?

在Debug模式开发中,我得到了正确的崩溃行号,而在发布版本中,我得到了崩溃文件名,但来源未知。Ihaveincluded-keepclasscom.crashlytics.**{*;}-keepclasscom.crashlytics.android.**我在ProGuard中添加了以上几行。 最佳答案 除了您的ProGuard规则外,请尝试以下几行:#Preserveannotations,linenumbers,andsourcefilenames-keepattributes*Annotation*,SourceFile,L

ios - 在 Button Swift 中通过标签发送行和部分

我在cellForRowAtIndexPath里面有这个cell.plusBut.tag=indexPath.rowcell.plusBut.addTarget(self,action:"plusHit:",forControlEvents:UIControlEvents.TouchUpInside)这个函数在外面:funcplusHit(sender:UIButton!){buildings[sender.tag].something=somethingElse}是否可以发送indexPath.rowandindexPath.section或其他替代方案?谢谢!编辑我是这样处理的:我