A physical button on iPhone, iPad and iPod Touch. Returns from the programm to the home screen
Questions tagged [home-button]
103 questions
0
votes
0 answers
Hide home button on iPhone X
I have to figure out a way to hide the home button for all of my View controllers in the app.
Yes
override var prefersHomeIndicatorAutoHidden: Bool {
return true
}
is an option but what if I have like 100 VCs, is this the only way?
I…

Ivan Mirchev
- 9
- 6
0
votes
1 answer
Hamburger Side menu and Home Icons showing Imoji's while loading (Sometime)
Please see this image. On responsive website, the Side menu and Home icons some times shows as Imoji's. The icons used are from Icons library : font-family: feather
See the screenshot of the situation in attached in image

Ayoob K
- 1
- 2
0
votes
3 answers
What differs Up Button to Back Button? And how to make Up Button work like Back Button?
In terms of how each button treat the activities? What are the differences?
I have 3 activities (let's call them A, B, and C). A is B's parent and B is C's parent, and one intent take a extra to the the next activity. I go from A to B and then B to…

João Vítor
- 11
- 1
- 7
0
votes
1 answer
How to works Home android default button in my own Android Apps? using Android Studio
I want to pause my apps music when I click my home button. But I can't access my mobile home button onclick event. How can I access androids default home button event when my apps are runing?

A.G.M.Khair
- 1
- 1
0
votes
2 answers
Programatic access to Home button in React Native
I'm trying to programatically call Home button with another button inside my project. App compiles fine, but when I tap the button that should call Home I receive following error:
Attempt to invoke virtual method 'void
…

vasyl
- 105
- 1
- 10
0
votes
0 answers
applicationDidEnterBackground, playSoundFileNamed Crash
When I tap Home Button the app calls AppDelegate function applicationDidEnterBackground, and applicationWillEnterForeground after I get back to it.
I use the following code:
func applicationDidEnterBackground(application: UIApplication) {
…

user6667443
- 61
- 5
0
votes
1 answer
Change default behavior of home button press when alert view is visible
Note: When I write "alert view", I'm referring to a UIAlertController UIAlertControllerStyleAlert
When my app is foregrounded after a minimum amount of time, a customPinUnlockViewController appears. This behavior occurs in iOS 8 and iOS 9 (and…

jungledev
- 4,195
- 1
- 37
- 52
0
votes
1 answer
Lock home button in Android
I found the code that is blocking the home button and I did want to try it, but when I run it nothing happens, even my layout doesn't show and also I have an error when I go to the home screen (see below the code). What do I do wrong?
public class…

Steve
- 49
- 1
- 7
0
votes
0 answers
Phone gap keeps going back to index.html after resume
I have created an application using phonegap, this application contains many pages, I have a problem after pressing home button and then go back to the application thew application is reset to index.html page and loosing the state when I left the…

Baha' Al-Khateib
- 311
- 3
- 13
0
votes
1 answer
How to save a NSUserDefault using applicationDidEnterBackground in the appdelegate
Seems a simple question, but I'm not able to find an answer. I have some user information that I want to save locally using NSUserDefaults whenever the user presses the home button. I've read that I should put this in the appdelegate classes…

Kitcc
- 2,138
- 4
- 24
- 42
0
votes
1 answer
How can I keep my app running when the focus is moved to another app or when the user presses the home button?
I have read other posts that suggest that I use a service but I am not sure that it will do what I need it to. I am trying to create an alarm app but once the user presses the home button, the alarm will never go off. Is there a way to keep my app…

tylerik
- 97
- 2
- 10
0
votes
1 answer
Home button missing in ActionBar
I can't see the home button (icon) in the ActionBar when I create a completely new project in eclipse (Activity with ActionBar extends android support v7 app ActionBarActivity). No changes were made in the project. I'm using the new Android 5.0…

user1117605
- 111
- 2
- 11
0
votes
1 answer
How to exit from application which is setted as home app at manifest
I setted my android app as Home in android manifest with following code. But i want to exit from this app when i want but it reopens itself. Is it possible to exit from application and prevent auto re-open until i want to open manually or pressing…

Bahadir Gul
- 152
- 3
- 19
0
votes
2 answers
Xcode 6 GM Seed - iPhone 6 simulator does not show the home button
I am creating a game in Xcode-6-GM-Seed and am having an issue that the home button is not showing up in the simulator.
I need to be able to press the home button to be able to quickly delete the app from the phone but am not seeing the home…

Wyetro
- 8,439
- 9
- 46
- 64
0
votes
2 answers
Detect Home button long press event in background
How can I detect Home button long press like 4 second or more event in my app which is already running in background? Is it possible to so because app is already running in background and if user long press home button of the device for 4 second or…

BADRI
- 643
- 8
- 26