Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

集成sdk 调用以下方法 会导致内存极速上升至崩溃 #158

Open
thesixdream opened this issue Dec 7, 2024 · 1 comment
Open

Comments

@thesixdream
Copy link

// @weakify(self)
// CLGeocoder *geocoder = [[CLGeocoder alloc] init];
// [geocoder reverseGeocodeLocation:location completionHandler:^(NSArray *placemarks,NSError *error){
// @strongify(self)
// if(placemarks.count > 0){
// CLPlacemark *placemark = [placemarks objectAtIndex:0];
// self->_sProvince = placemark.administrativeArea;
// self->_sCity = placemark.locality;
// }
// }];

@zjc19891106
Copy link
Contributor

zjc19891106 commented Dec 10, 2024

1.参看原来的OC UIKit中的使用方式
2.避免频繁的变更地图位置
3.检查是否有循环引用
4.写个简单的Demo同样代码测试,看频繁更新地图位置 内存是否有暴增并崩溃
5.OCUIKit 在半年前不在维护了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants