摘要:
一、Activity和Task(栈)的关系 Task就像一个容器,而Activity就相当与填充这个容器的东西,第一个东西(Activity)则会处于最下面,最后添加的东西(Activity)则会在最低端。从Task中取出东西(Activity)则是从最顶端取出,也就是说最先取出的是最后添加的东西(Activity),一次类推,最后取出的是第一次添加的Activity,而Activity在Task中的顺序是可以控制的,那则在Activity跳转时用到Intent Flag 二、界面跳转和服务的启动都会用到Intent,现在介绍Intent Flag是关于Activity的跳转 Inten... 阅读全文
摘要:
ParametersURLStringThe string with which to initialize the NSURL object. This string must conform to URL format as described in RFC 2396. This method parsesURLStringaccording to RFCs 1738 and 1808.DiscussionThis method expectsURLStringto contain any necessary percent escape codes, which are ‘:’, ‘/’ 阅读全文