Rumah > Soal Jawab > teks badan
mesej ranap sistem
SEGV_ACCERR
cardloan -[HomeMoneyView refreshView] (HomeMoneyView.m:)
cardloan -[HomeMoneyView refreshView] (HomeMoneyView.m:89)
5 cardloan -[HomeMoneyTextFiedTablieViewCell initWithStyle:reuseIdentifier:] (HomeMoneyTextFiedTablieViewCell.m:61)
@try {
// 刷新每期费用
CGFloat monthMoney = [[MoneyLoan sharedInstance] getPeriodsFeeWithMoney:[_moneyTextField.text floatValue] periods:_periods];;
NSString *approvedAmountStr = [NSString stringWithFormat:@"%@元", [NSString moneyToStrings:monthMoney]];
NSMutableAttributedString *attrStr = [[NSMutableAttributedString alloc] initWithString:approvedAmountStr];
[attrStr setAttributes:@{
NSFontAttributeName:kFont(15.)
}
range:NSMakeRange(attrStr.length - 3, 3)];
_monthMoneyLabel.attributedText = attrStr;
_circleLayer.progress = [_moneyTextField.text floatValue] / _moneyTextField.moneyRange.max;
} @catch (NSException *exception) {
} @finally {
}
Ini ayat di baris 89, saya tidak tahu kenapa ia ranap
[attrStr setAttributes:@{
NSFontAttributeName:kFont(15.)
}
range:NSMakeRange(attrStr.length - 3, 3)];