The old .mmpk file is displayed when the .mmpk file name is the same in ArcGIS Runtime SDK for iOS.
上次发布: August 13, 2019ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000122948
已提交
June 10, 2019
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.5
操作系统
Apple iOS
操作系统版本
12.0x
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
A singleton instance of a LoginBusinessInterface class is holding on to the mobile map package instance. There is also a singleton instance of a MapFramework class holding on the ArcGIS Map and Feature layers from the .mmpk file. Because of these permanent references, updating the .mmpk file with a new file of the same name does not work.
iOS is a reference counted programming environment, which means that as soon as an instance’s lifecycle comes to an end, its dependencies can be destroyed and any resources it is holding on to can be relinquished.
For this particular case, make sure the references are released (e.g. by setting them to nil) to the previous feature layers and mobile map package before a new .mmpk file is copied on top of the existing one.