摘要
21世纪,移动互联网飞跃式的发展,全球互联网用户数量急速上升。为了满足不同用户在不同使用场景下的需求,移动应用不断推陈出新,在其不断完善的同时,人们对移动应用也产生了依赖性。所以,为了适应市场不断变化的需求和使用场景,各类服务提供商不得不快速的迭代产品。反之,由于产品的过于快速的迭代,使用户需要不断的更新和下载应用,造成用户体验较差。本文通过对Objective-C加载Class的机制的研究,采用包bundle机制在iOS和OS X平台上实现了动态加载。从而实现了让用户不用重新安装APK就实现应用升级更新功能。
From the beginning of the 21st century, with the rapid development of mobile Internet, the num-ber of global Internet users increased rapidly. In order to meet the needs of different users in different scenarios, mobile applications continue to emerge;while during its continuous improvement, people also have a dependence on mobile applications. So, in order to adapt to the ever- changing market demand and the use of scenarios, various service providers have to quickly iterate products. Conversely, because the product is too fast iterated, users need to constantly update and download applications, resulting in poor user experience. In this paper, we put forward a feasible solution on iOS and OS X platform by studying the mechanism of Objective-C loading Class, thus achieving the function that users do not have to reinstall APK to upgrade the application.
出处
《计算机科学与应用》
2017年第3期192-198,共7页
Computer Science and Application