A kind of method switched between intelligent terminal operation interfaceTechnical field
The invention belongs to a kind of method switched between intelligent terminal technical field, more particularly to intelligent terminal operation interface.
Background technology
Developing rapidly for science and technology is currently based on, mobile phone becomes people's tool of communications essential daily, a interactionPerfect cell phone software is final pursuit.Conventional mobile phone app operator scheme is excessively inflexible, and user can only rest on a pageOperated on face, the Perfect Experience of user can not be met in interaction.
User is cumbersome in the operation of software to waste the plenty of time, by taking existing wechat as an example, when user is clearWhen circle of friends of looking at sees video, good friend sends a piece of news, and when user clicks on message, video will be terminated, two kinds of operationsIt can not carry out simultaneously, to causing very big inconvenience on Consumer's Experience.All incompatible in similar any two experience, user is notThe substantial amounts of time is only wasted, therefore the utilization rate of the bad software of experience of user be able to may also be reduced.
The content of the invention
It is an object of the invention to provide a kind of method switched between intelligent terminal operation interface, it is intended to solves user softIt is cumbersome in the operation of part to waste plenty of time, the problem of service efficiency of software is relatively low.
The present invention is achieved in that a kind of method switched between intelligent terminal operation interface, the intelligent terminal operationThe method switched between interface includes navigation controller (NavigationController) window reception to switching command, first willThe data of game or chat or video are obtained from server, carry out showing chat data or playing video data, small windowWhen mouthful navigation controller (NavigationController) receives switching command, from server obtain game or chat orThe data of person's video, carry out data display or play Video processing.
Further, the method switched between the intelligent terminal operation interface includes:
First by normal chat window page controller (UIViewController) from lower navigation bar (TabBar)Removed in active view storehouse, while normal chat window page controller (UIViewController) is placed on current intelligenceOn the figure layer of the window (UIWindow) of the main display page of the third party application (App) of mobile phone, while normal chatSkylight opening diminishes;
Then, when user clicks on wicket, will chat wicket page controller (UIViewController) from intelligenceRemoved on the figure layer of the window (UIWindow) of the main display page of the third party application (App) of mobile phone, while will chatIts wicket page controller (UIViewController) is put into when in the active view storehouse of front lower navigation bar (TabBar),Complete the handoff procedure of two chat windows.
Further, the method switched between the intelligent terminal operation interface realizes the interface addition window contracting of wicket firstSmall button;The zoom technology that thought realizes wicket using code is weaved into based on software, picture dwindled into suitably sized;The basic function of wicket, and dragging effect are realized, allows wicket to be arbitrarily dragged to the optional position of screen;Complete Liang Ge circleRandom switching between face.
The method switched between the intelligent terminal operation interface that the present invention is provided, sufficiently solves the operational fiber crops of userIt is tired, realize zero handover operation between interface.In software when user is seeing video, game is played, music is listened, sees outer link, depending onWhen frequency chat etc., can active diminution current window, and take the wicket to any interface that you browse, realizeMultiple interfaces are carried out simultaneously;When playing game, when seeing video etc., now good friend sends a piece of news, when click messageThe wicket that dwindles into that current interface can be passive simultaneously emerges in the top of chat interface, realizes zero switching between interface.
Brief description of the drawings
Fig. 1 is the method flow diagram switched between intelligent terminal operation interface provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments, to the present inventionIt is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used toLimit the present invention.
The application principle of the present invention is further described below in conjunction with the accompanying drawings.
As shown in figure 1, the method switched between the intelligent terminal operation interface of the embodiment of the present invention comprises the following steps:
S101:By normal chat window【UIViewController】Removed from TabBar active view storehouse,While normal chat window【UIViewController】It is placed on current App main UIWindow figure layer, while justNormal chat window diminishes;
S102:Then, when user clicks on wicket, by wicket of chatting【UIViewController】From App masterRemoved on UIWindow figure layer, while by small chat window【UIViewController】It is put into TabBar active viewIn storehouse;
S103:While normal chat window【UIViewController】Remove and put from TabBar active view storehouseEnter on App main UIWindow figure layer, that is, complete the handoff procedure of two chat windows.
The method switched between the method switched between intelligent terminal operation interface of the present invention, the intelligent terminal operation interface existsRealize that chat window and chat wicket data switch in real time on TabBarController interfaces, first by normal chat windowMouthful【UIViewController】Removed from TabBar active view storehouse, while normal chat window【UIViewController】It is placed on current App main UIWindow figure layer, while normal chat window diminishes, soAfterwards, when user clicks on wicket, by wicket of chatting【UIViewController】On App main UIWindow figure layerRemove, while by small chat window【UIViewController】It is put into TabBar active view storehouse, while normal chatSkylight opening【UIViewController】The figure layer for the main UIWindow for being put into App is removed from TabBar active view storehouseOn, that is, complete the handoff procedure of two chat windows.The method switched between the intelligent terminal operation interface is first realThe interface addition window reduction button of existing wicket;The scaling skill that thought realizes wicket using code is weaved into based on softwareArt, picture is dwindled into suitably sized;The basic function of wicket, and dragging effect are realized, wicket can arbitrarily be draggedTo the optional position of screen;Complete the random switching between two interfaces.
Hand-off process between the intelligent terminal operation interface that the present invention is provided, in TabBar front view storehouses, shows simultaneouslyTwo chat windows【UIViewController】It is respectively displayed in different figure layers, each chat window has number of oneself chattingAccording to two window sizes during switching, to be switched over to (one becomes big from small, another from diminish greatly), use is sufficiently solvedThe operational trouble in family, realizes zero handover operation between interface.In software when user is seeing video, game is played, music is listened,When seeing outer link, Video chat etc., can active diminution current window, and by the wicket take to it is any you browseInterface, realizes multiple interfaces and carries out simultaneously;When playing game, when seeing video etc., now good friend sends a piece of news, whenWhile clicking on message current interface can the passive wicket that dwindles into emerge in the top of chat interface, realize between interfaceZero switching.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, all essences in the present inventionAny modification, equivalent and improvement made within refreshing and principle etc., should be included within the scope of the present invention.