CN105808103A - Method and device for switching to home screen based on iOS system - Google Patents

Method and device for switching to home screen based on iOS system Download PDF

Info

Publication number
CN105808103A
CN105808103A CN201610125025.3A CN201610125025A CN105808103A CN 105808103 A CN105808103 A CN 105808103A CN 201610125025 A CN201610125025 A CN 201610125025A CN 105808103 A CN105808103 A CN 105808103A
Authority
CN
China
Prior art keywords
home
switched
main screen
application
solicited message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610125025.3A
Other languages
Chinese (zh)
Other versions
CN105808103B (en
Inventor
谭永龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610125025.3A priority Critical patent/CN105808103B/en
Publication of CN105808103A publication Critical patent/CN105808103A/en
Application granted granted Critical
Publication of CN105808103B publication Critical patent/CN105808103B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention relates to a method for switching to a home screen based on an iOS system. The method comprises the following steps of step S1 judging whether a user clicks a button B_Home on an application extension Widget_Home in an application App_Home; step S2 if the user clicks the button B_Home, making the application extension Widget_Home call an own container application App_Home or an application To_Home; step S3 making the own container application App_Home or the application To_Home judge whether a call request message is a request message switched to the home screen; and step S4 if the call request message is the request message switched to the home screen, making the own container application App_Home or the application To_Home call an application programming interface API of an exit program of the iOS system. Through making the own container application App_Home or the application To_Home call the API of the exit program of the iOS system to the home screen, the user experience is improved.

Description

A kind of method and apparatus being switched to main screen based on iOS system
Technical field
The present invention relates to computer realm, particularly relate to a kind of device being switched to main screen based on iOS system.
Background technology
IOS system is a kind of operating system of Apple, and the main screen in iOS is to place application icon or file.After entering application program, if needing to return to the main screen of iOS system, user can click Home key and return to the main screen of iOS system, it is also possible to clicks auxiliary clicking function, also can return to main screen from application program.
Restriction due to iOS system, user need from Application Program Interface be switched to main screen time, only by by Home key or the mode returning to main screen using the offer of auxiliary clicking function, other generic way are not had to realize being switched to main screen from application program, bring restriction to user's use habit, allow certain customers feel inconvenience.
Summary of the invention
The technical problem to be solved is to provide a kind of device being switched to main screen based on iOS system.
The technical scheme is that a kind of method being switched to main screen based on iOS system, including:
Step S1, it is judged that whether user clicks the button B_Home in application A pp_Home on application extension Widget_Home.
Step S2, if described user clicks described button B_Home, then described application extension Widget_Home calls self container application APP_Home or application program To_Home.
Step S3, self container application APP_Home described or described application program To_Home judge whether call request information is the solicited message being switched to main screen.
Step S4, if described call request information be described in be switched to the solicited message of main screen, then described self container application APP_Home or described application program To_Home calls the application programming interface API quit a program of iOS system.
The invention has the beneficial effects as follows: the API quit a program being called iOS system by self container application APP_Home or application program To_Home returns to main screen, thus improving Consumer's Experience.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described step S1 includes:
Judge whether described user carries out touch operation to described button B_Home.
Further, described step S3 includes:
Self container application APP_Home described or described application program To_Home judges that whether the parameter in described call request information is consistent with the parameter in the solicited message being switched to described main screen;
Or,
Judge that described call request information is switched to the solicited message of main screen described in being whether by the configuration information of described application program To_Home;
Or,
It is confirmed whether to be switched to described call request information the solicited message of described main screen by described user.
Further, described step S4 includes:
If described call request information is the solicited message being switched to described main screen, then described application program To_Home directly invokes the API quit a program of described iOS system;
Or,
If described call request information is the solicited message being switched to described main screen, then described application program To_Home calls application A pp_O, described application A pp_O and calls the API quit a program of described iOS system.
Further, before described step S4, also include:
Judge whether current setting allows to be switched to the solicited message of described main screen;Or,
Judge whether to need to perform other operations;Or,
Button according to ejecting makes described user reaffirm the solicited message whether being switched to described main screen;Or,
The solicited message of described main screen it is switched to after closing the window or time delay ejected.
This invention address that another technical scheme of above-mentioned technical problem is as follows: a kind of device being switched to main screen based on iOS system, including:
First judging unit, for judging whether user clicks the button B_Home in application A pp_Home on application extension Widget_Home;
First call unit, for when described user clicks described button B_Home, described application extension Widget_Home calls self container application APP_Home or application program To_Home;
For self container application APP_Home described or described application program To_Home, second judging unit, judges whether call request information is the solicited message being switched to main screen;
Second call unit, for when being switched to the solicited message of main screen described in described call request information is, self container application APP_Home described or described application program To_Home calls the application programming interface API quit a program of iOS system.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described first judging unit includes:
Judge whether described user carries out touch operation to described button B_Home.
Further, described second judging unit includes:
Self container application APP_Home described or described application program To_Home judges that whether the parameter in described call request information is consistent with the parameter in the solicited message being switched to described main screen;
Or,
Judge that described call request information is switched to the solicited message of main screen described in being whether by the configuration information of described application program To_Home;Or,
It is confirmed whether to be switched to described call request information the solicited message of described main screen by described user.
Further, described second call unit includes:
If described call request information is the solicited message being switched to described main screen, then described application program To_Home directly invokes the API quit a program of described iOS system;
Or,
If described call request information is the solicited message being switched to described main screen, then described application program To_Home calls application A pp_O, described application A pp_O and calls the API quit a program of described iOS system.
Further, before described second call unit, also include switching confirmation unit:
Judge whether current setting allows to be switched to the solicited message of described main screen;Or,
Judge whether to need to perform other operations;Or,
Button according to ejecting makes described user reaffirm the solicited message whether being switched to described main screen;Or,
The solicited message of described main screen it is switched to after closing the window or time delay ejected.
Accompanying drawing explanation
A kind of method flow diagram being switched to main screen based on iOS system that Fig. 1 provides for the embodiment of the present invention;
A kind of device schematic diagram being switched to main screen based on iOS system that Fig. 2 provides for the embodiment of the present invention.
In accompanying drawing, the list of parts representated by each label is as follows:
10, the first judging unit, the 20, first call unit, the 30, second judging unit, the 40, second call unit.
Detailed description of the invention
Below in conjunction with accompanying drawing, principles of the invention and feature being described, example is served only for explaining the present invention, is not intended to limit the scope of the present invention.
A kind of method flow diagram being switched to main screen based on iOS system that Fig. 1 provides for the embodiment of the present invention.
With reference to Fig. 1, step S1, it is judged that whether user clicks the button B_Home on application extension in application A pp_Home (APPExtension) Widget_Home.
Specifically, it is judged that whether user has carried out button B_Home clicking, double hit, slide, lift, the operation of one of multiple point touching, if user carries out one or more operations above-mentioned, then judged result is yes.Here, user clicks the method for B_Home and may is that first passing through downslide opens notice center, then selects page today in the minds of in notice;Finally click the button B_Home in Widget_Home.
Wherein, the outward appearance of button B_Home can use image, animation, word, color block, transparent color or its combination to identify.
Step S2, if described user clicks described button B_Home, then described application extension Widget_Home calls self container application (ContainingAPP) APP_Home or application program To_Home.
Step S3, self container application APP_Home described or described application program To_Home judge whether call request information is the solicited message being switched to main screen;If described call request information is switched to the solicited message of main screen described in being, then perform step S4;If described call request information is switched to the solicited message of main screen described in not being, then perform step S5.
Step S4, self container application APP_Home described or described application program To_Home call the application programming interface API quit a program of iOS system.
Step S5, it is not necessary to be switched to the solicited message of main screen.
In the present embodiment, described step S1 includes:
Judge whether described user carries out touch operation to described button B_Home.
In the present embodiment, described step S3 includes:
Self container application APP_Home described or described application program To_Home judges that whether the parameter in described call request information is consistent with the parameter in the solicited message being switched to described main screen;
Or,
Judge that described call request information is switched to the solicited message of main screen described in being whether by the configuration information of described application program To_Home;
Or,
It is confirmed whether to be switched to described call request information the solicited message of described main screen by described user.
Specifically, application extension Widget_Home calls the method for the container application App_Home of himself it may be that Widget_Home is by the method for the openURL of extension offer today, and parameter C passes to the container application App_Home of self.
Can also be: the NSUserDefaults method that Widget_Home is provided by iOS system, parameter C is shared to the container application App_Home of self.
Wherein, the purpose of Transfer Parameters C is that Widget_Home notifies App_Home, and user needs to be switched to main screen.Namely the form of expression of parameter C can be given tacit consent to for zero does not have parameter, it is also possible to be the combination of a parameter or multiple parameter.
After App_Home is called, can realizing receiving Widget_Home by the iOS system function funcapplication provided and send the message parameter of coming, such application extension Widget_Home just sends, by being switched to main screen message, the container application giving self.
In the present embodiment, described step S4 includes:
If described call request information is the solicited message being switched to described main screen, then described application program To_Home directly invokes the API quit a program of described iOS system;
Or,
If described call request information is the solicited message being switched to described main screen, then described application program To_Home calls application A pp_O, described application A pp_O and calls the API quit a program of described iOS system.
Specifically, the API quit a program that iOS system provides, the method that can realize being switched to main screen are whether directly or indirectly called.
In the present embodiment, before described step S4, also include:
The need of performing other operations before execution is switched to main screen, if needing to perform other operations, can perform as, after display image, word, sound, being further continued for execution and be switched to main screen.
After container application receives message, before the API exiting application program performing calling system, alternatively, perform user and point out operation:
If ejecting a button, allowing user reaffirm and whether being switched to main screen, if user selects to be then be switched to main screen;If ejecting a window, perform after allowing user click closedown to be switched to main screen;If ejecting a window, perform after when time delay one section to be switched to main screen.The window ejected can be a sub-picture, one section of animation, passage, one section of sound and combination thereof.
A kind of device schematic diagram being switched to main screen based on iOS system that Fig. 2 provides for the embodiment of the present invention.
With reference to Fig. 2, this device includes the first judging unit the 10, first call unit the 20, second judging unit 30 and the second call unit 40.
First judging unit 10, for judging whether user clicks the button B_Home in application A pp_Home on application extension Widget_Home.
First call unit 20, for when described user clicks described button B_Home, described application extension Widget_Home calls self container application APP_Home or application program To_Home.
For self container application APP_Home described or described application program To_Home, second judging unit 30, judges whether call request information is the solicited message being switched to main screen.
Second call unit 40, for being switched to the solicited message of main screen described in described call request information being, self container application APP_Home described or described application program To_Home calls the application programming interface API quit a program of iOS system.
In the present embodiment, described first judging unit includes:
Judge whether described user carries out touch operation to described button B_Home.
In the present embodiment, described second judging unit includes:
Self container application APP_Home described or described application program To_Home judges that whether the parameter in described call request information is consistent with the parameter in the solicited message being switched to described main screen;Or,
Judge that described call request information is switched to the solicited message of main screen described in being whether by the configuration information of described application program To_Home;Or,
It is confirmed whether to be switched to described call request information the solicited message of described main screen by described user.
In the present embodiment, described second call unit includes:
If described call request information is the solicited message being switched to described main screen, then described application program To_Home directly invokes the API quit a program of described iOS system;Or,
If described call request information is the solicited message being switched to described main screen, then described application program To_Home calls application A pp_O, described application A pp_O and calls the API quit a program of described iOS system.
In the present embodiment, before described second call unit, also include switching confirmation unit (not shown):
Judge whether current setting allows to be switched to the solicited message of described main screen;Or,
Judge whether to need to perform other operations;Or,
Button according to ejecting makes described user reaffirm the solicited message whether being switched to described main screen;Or,
The solicited message of described main screen it is switched to after closing the window or time delay ejected.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (10)

1. the method being switched to main screen based on iOS system, it is characterised in that described method includes:
Step S1, it is judged that whether user clicks the button B_Home in application A pp_Home on application extension Widget_Home;
Step S2, if described user clicks described button B_Home, then described application extension Widget_Home calls self container application APP_Home or application program To_Home;
Step S3, self container application APP_Home described or described application program To_Home judge whether call request information is the solicited message being switched to main screen;
Step S4, if described call request information be described in be switched to the solicited message of main screen, then described self container application APP_Home or described application program To_Home calls the application programming interface API quit a program of iOS system.
2. a kind of method being switched to main screen based on iOS system according to claim 1, it is characterised in that described step S1 includes:
Judge whether described user carries out touch operation to described button B_Home.
3. a kind of method being switched to main screen based on iOS system according to claim 1, it is characterised in that described step S3 includes:
Self container application APP_Home described or described application program To_Home judges that whether the parameter in described call request information is consistent with the parameter in the solicited message being switched to described main screen;
Or,
Judge that described call request information is switched to the solicited message of main screen described in being whether by the configuration information of described application program To_Home;
Or,
It is confirmed whether to be switched to described call request information the solicited message of described main screen by described user.
4. a kind of method being switched to main screen based on iOS system according to claim 1, it is characterised in that described step S4 includes:
If described call request information is the solicited message being switched to described main screen, then described application program To_Home directly invokes the API quit a program of described iOS system;
Or,
If described call request information is the solicited message being switched to described main screen, then described application program To_Home calls application A pp_O, described application A pp_O and calls the API quit a program of described iOS system.
5. a kind of method being switched to main screen based on iOS system according to claim 1, it is characterised in that before described step S4, also include:
Judge whether current setting allows to be switched to the solicited message of described main screen;
Or,
Judge whether to need to perform other operations;
Or,
Button according to ejecting makes described user reaffirm the solicited message whether being switched to described main screen;
Or,
The solicited message of described main screen it is switched to after closing the window or time delay ejected.
6. the device being switched to main screen based on iOS system, it is characterised in that including:
First judging unit, for judging whether user clicks the button B_Home in application A pp_Home on application extension Widget_Home;
First call unit, for when described user clicks described button B_Home, described application extension Widget_Home calls self container application APP_Home or application program To_Home;
For self container application APP_Home described or described application program To_Home, second judging unit, judges whether call request information is the solicited message being switched to main screen;
Second call unit, for when being switched to the solicited message of main screen described in described call request information is, self container application APP_Home described or described application program To_Home calls the application programming interface API quit a program of iOS system.
7. a kind of device being switched to main screen based on iOS system according to claim 6, it is characterised in that described first judging unit includes:
Judge whether described user carries out touch operation to described button B_Home.
8. a kind of device being switched to main screen based on iOS system according to claim 6, it is characterised in that described second judging unit includes:
Self container application APP_Home described or described application program To_Home judges that whether the parameter in described call request information is consistent with the parameter in the solicited message being switched to described main screen;
Or,
Judge that described call request information is switched to the solicited message of main screen described in being whether by the configuration information of described application program To_Home;
Or,
It is confirmed whether to be switched to described call request information the solicited message of described main screen by described user.
9. a kind of device being switched to main screen based on iOS system according to claim 6, it is characterised in that described second call unit includes:
If described call request information is the solicited message being switched to described main screen, then described application program To_Home directly invokes the API quit a program of described iOS system;
Or,
If described call request information is the solicited message being switched to described main screen, then described application program To_Home calls application A pp_O, described application A pp_O and calls the API quit a program of described iOS system.
10. a kind of device being switched to main screen based on iOS system according to claim 6, it is characterised in that before described second call unit, also includes switching confirmation unit:
Judge whether current setting allows to be switched to the solicited message of described main screen;Or,
Judge whether to need to perform other operations;Or,
Button according to ejecting makes described user reaffirm the solicited message whether being switched to described main screen;Or,
The solicited message of described main screen it is switched to after closing the window or time delay ejected.
CN201610125025.3A 2016-03-04 2016-03-04 A kind of method and apparatus for being switched to main screen based on iOS system Expired - Fee Related CN105808103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610125025.3A CN105808103B (en) 2016-03-04 2016-03-04 A kind of method and apparatus for being switched to main screen based on iOS system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610125025.3A CN105808103B (en) 2016-03-04 2016-03-04 A kind of method and apparatus for being switched to main screen based on iOS system

Publications (2)

Publication Number Publication Date
CN105808103A true CN105808103A (en) 2016-07-27
CN105808103B CN105808103B (en) 2018-09-18

Family

ID=56466762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610125025.3A Expired - Fee Related CN105808103B (en) 2016-03-04 2016-03-04 A kind of method and apparatus for being switched to main screen based on iOS system

Country Status (1)

Country Link
CN (1) CN105808103B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818107A (en) * 2016-09-12 2018-03-20 平安科技(深圳)有限公司 The method and apparatus for controlling page jump

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094596A1 (en) * 2005-10-25 2007-04-26 Per Nielsen Glance modules
CN103677587A (en) * 2013-12-11 2014-03-26 Tcl集团股份有限公司 Method and system for rapidly switching main interfaces in Android system
CN103914321A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Method for invoking message processing capacity of system and mobile terminal
CN104765524A (en) * 2015-03-05 2015-07-08 广东欧珀移动通信有限公司 Application switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070094596A1 (en) * 2005-10-25 2007-04-26 Per Nielsen Glance modules
CN103914321A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Method for invoking message processing capacity of system and mobile terminal
CN103677587A (en) * 2013-12-11 2014-03-26 Tcl集团股份有限公司 Method and system for rapidly switching main interfaces in Android system
CN104765524A (en) * 2015-03-05 2015-07-08 广东欧珀移动通信有限公司 Application switching method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
龙爪槐守望者: "drag to back_home——iOS快速返回首页的手势交互", 《简书》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107818107A (en) * 2016-09-12 2018-03-20 平安科技(深圳)有限公司 The method and apparatus for controlling page jump

Also Published As

Publication number Publication date
CN105808103B (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN110431521B (en) Split screen display method and device and terminal
US20190391732A1 (en) Method, Apparatus, and Terminal for Processing Notification Information
US20220121312A1 (en) Method, Apparatus, and Device for Enabling Task Management Interface
US20180081511A1 (en) Slider and history field for smart chat sessions
US20170351531A1 (en) Information processing method and electronic apparatus thereof
CN106293584A (en) A kind of double-screen display method and terminal
CN102929478A (en) Application switching method and communication terminal
WO2016029770A1 (en) Method for split-screen displaying, mobile terminal and storage medium
CN102819431B (en) Setting method of logical orders, calling method of application program and mobile terminal
CN105094656A (en) Application starting method, application starting device and mobile terminal
CN105320542B (en) A kind of method and apparatus that mobile terminal exits abnormal interface
US11782581B2 (en) Display control method and device, electronic device and storage medium
CN104158972A (en) Method for calling third-party application in conversation process and user terminal
CN104850319A (en) Method and device for dynamically adjusting icon on touch screen
WO2020057255A1 (en) Terminal interface recognition-based voice control method and system, and intelligent terminal
WO2012058811A1 (en) Method and device for checking event to be processed
US20230269418A1 (en) Video display method, apparatus and storage medium
CN106302932A (en) The method and apparatus checking log in communication terminal
US20170003875A1 (en) Display Processing Method for Transient Interface, and Terminal
US20170060334A1 (en) Method and apparatus for controlling touch device, and touch device
CN102880413B (en) The method of the mobile terminal control display touching control screen for having and mobile terminal
CN107133003A (en) A kind of information displaying method and terminal
CN105808103A (en) Method and device for switching to home screen based on iOS system
CN111857503A (en) Display method, display device and electronic equipment
CN106445348A (en) Screen touching method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180918

Termination date: 20190304