A kind of intelligent terminal operates the method for switching between interfaceTechnical field
The invention belongs to intelligent terminal's technical field, particularly relate to a kind of intelligent terminal and operate the method for switching between interface.
Background technology
Being currently based on developing rapidly of science and technology, mobile phone becomes requisite tool of communications people's every day, and a mutual perfect cell phone software is final pursuit.The operator scheme of conventional mobile phone app is excessively inflexible, and user can only rest on and be operated on a page, can not meet the Perfect Experience of user on mutual.
User is cumbersome in the operation of software can waste the plenty of time, for existing wechat, when user is when browsing circle of friends and seeing video, good friend sends a piece of news, when user clicks message, video will terminate, two kinds of operations can not carry out simultaneously, to causing very big inconvenience on Consumer's Experience.Similar any two is experienced all incompatible, and user not only wastes the substantial amounts of time, and the utilization rate experiencing bad software of user is likely to and can therefore reduce.
Summary of the invention
It is an object of the invention to provide a kind of method that intelligent terminal operates between interface switching, it is intended to solve that user is cumbersome in the operation of software can waste the plenty of time, the problem that the service efficiency of software is relatively low.
The present invention is realized in, a kind of intelligent terminal operates the method for switching between interface, described intelligent terminal operates between interface the method for switching and includes NavigationController window reception to switching command, first game or the data of chat or video will be obtained from server, display chat data or playing video data, when wicket NavigationController receives switching command, obtain game or the data of chat or video from server, carry out data and show or play Video processing.
Further, described intelligent terminal operates between interface the method for switching and includes:
First being removed from the active view storehouse of tabBar by normal chat window [UIViewController], normal chat window [UIViewController] is placed on the figure layer of main UIWindow of current App simultaneously, and normal chat window diminishes simultaneously;
Then, when user clicks wicket, chat wicket [UIViewController] is removed on the figure layer of the main UIWindow of App, little chat window [UIViewController] is put in the active view storehouse of UITabBar simultaneously;
Normal chat window [UIViewController] removes on the figure layer of the main UIWindow putting into App from the active view storehouse of TabBar simultaneously, namely completes the handoff procedure of two chat windows.
Further, described intelligent terminal operates between interface the method for switching and first realizes the interface of wicket and add window and reduce button;Thought of weaving into based on software utilizes code to realize the zoom technology of wicket, is dwindled into by picture suitably sized;Realize the basic function of wicket and dragging effect, allow wicket can arbitrarily be dragged to the optional position of screen;Complete the random switching between two interfaces.
Further, described intelligent terminal operates the method for switching between interface and, in TabBar front view storehouse, shows that two chat windows [UIViewController] are respectively displayed on different figure layers simultaneously, and each chat window has oneself chat data, during switching, two window sizes are switched over.
Intelligent terminal provided by the invention operates the method for switching between interface, solves the trouble in user operation fully, it is achieved that zero handover operation between interface.In software when user is seeing video, play game, listen music, see outer link, when Video chat etc., it is possible to actively reduce current window, and to this wicket is taken any interface that you browse, it is achieved that multiple interfaces carry out simultaneously;When playing game, when seeing video etc., now good friend sends a piece of news, and the wicket that dwindles into that current interface can be passive while clicking message emerges above chat interface, it is achieved that zero switching between interface.
Accompanying drawing explanation
Fig. 1 is that the intelligent terminal that the embodiment of the present invention provides operates the method flow diagram of switching between interface.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
Below in conjunction with accompanying drawing, the application principle of the present invention is further described.
Comprise the following steps as it is shown in figure 1, the intelligent terminal of the embodiment of the present invention operates the method for switching between interface:
S101: normal chat window [UIViewController] is removed from the active view storehouse of tabBar, normal chat window [UIViewController] is placed on the figure layer of main UIWindow of current App simultaneously, and normal chat window diminishes simultaneously;
S102: then, when user clicks wicket, removes chat wicket [UIViewController] on the figure layer of the main UIWindow of App, is put in the active view storehouse of UITabBar by little chat window [UIViewController] simultaneously;
S103: normal chat window [UIViewController] removes on the figure layer of the main UIWindow putting into App from the active view storehouse of TabBar simultaneously, namely completes the handoff procedure of two chat windows.
nullIntelligent terminal of the present invention operates the method for switching between interface,Described intelligent terminal operates between interface the method for switching and realizes chat window on UITabBarController interface and chat wicket data switch in real time,First normal chat window [UIViewController] is removed from the active view storehouse of tabBar,Normal chat window [UIViewController] is placed on the figure layer of main UIWindow of current App simultaneously,Normal chat window diminishes simultaneously,Then,When user clicks wicket,Chat wicket [UIViewController] is removed on the figure layer of the main UIWindow of App,Little chat window [UIViewController] is put in the active view storehouse of UITabBar simultaneously,Normal chat window [UIViewController] removes on the figure layer of the main UIWindow putting into App from the active view storehouse of TabBar simultaneously,Namely the handoff procedure of two chat windows is completed.Described intelligent terminal operates the method for switching between interface and first reduces button at the interface interpolation window realizing wicket;Thought of weaving into based on software utilizes code to realize the zoom technology of wicket, is dwindled into by picture suitably sized;Realize the basic function of wicket and dragging effect, allow wicket can arbitrarily be dragged to the optional position of screen;Complete the random switching between two interfaces.
Intelligent terminal provided by the invention operates hand-off process between interface, in TabBar front view storehouse, two chat windows [UIViewController] of display are respectively displayed on different figure layers simultaneously, each chat window has oneself chat data, during switching, two window sizes are switched over (one big from little change, and another is from diminishing greatly), solve the trouble in user operation fully, it is achieved that zero handover operation between interface.In software when user is seeing video, play game, listen music, see outer link, when Video chat etc., it is possible to actively reduce current window, and to this wicket is taken any interface that you browse, it is achieved that multiple interfaces carry out simultaneously;When playing game, when seeing video etc., now good friend sends a piece of news, and the wicket that dwindles into that current interface can be passive while clicking message emerges above chat interface, it is achieved that zero switching between interface.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.