iOS 9 new back button animation - ios

So apple brought some new functions with iOS9.. One of these is the tiny black back-button, which appears when I open an app over a popup or something like that.
In my app the user can press a button to enter the settings. Then this new button appears. I was able to register, when this button was pressed, but as soon as the animation appears, there is such a black background. Is there a possibility to change the color of this animation-background?
As you can see, I mean this button:
This black background:

Related

Keep iOS textView on top of keyboard after app resumes from background

I have an iOS 9+ app with a textView that, when clicked in, opens the keyboard and slides up with it. It slides back down when the keyboard is dismissed. So far, so good.
When the app is sent to the background while the keyboard is open with the textView on top of it, then when the app resumes the textView is sent back to the bottom behind the keyboard (after a split second), but the keyboard remains open. The scenario is explained in this other SO question.
Thanks to that question I have a watcher and can run this:
#objc func willEnterForeground(_ notification: NSNotification!) {
view.endEditing(true)
}
...and that works to hide the keyboard "almost" seamlessly.
But I really want the textView and keyboard to be exactly as they were when the app was sent to the background. What might cause the textView to go back to its baseline position? I'm running through the view controller with breakpoints and, so far, have had no luck finding anything.
EDIT: You don't actually have to send the app all the way to the background. Just starting the touch gesture to send the app to the background (dragging the virtual home bar up) and letting go will remove the textView (also removes an inputAccessoryView if there is one).
EDIT: Here is the slow motion screen recording demonstrating the issue:

Can I make my iphone app use only a portion of the screen

I was hoping to create a small windowed screen when the home button is pressed. It would keep a portion of the app process open while another app isn't open.
So say I had music playing on the app and when the home button gets pressed the screen would be windowed or shrunk and just displayed over the main screen (kind of like the little help button that can be moved around). Would using widgets in IOS 8 work?
When the user presses the Home button, the app goes to background, and that's it. You can't customize that action.
You only get a notification that the user closed the app so that you can save your app state or data for the next launch.

iOS Programmatically press keyboard button

Is there anyway to programmatically press a button on the default keyboard for iOS?
For example, after something happens in my app, the keyboard will be visible. I need the program to automatically press or invoke the default action that the space bar would normally do on the keyboard, or the same thing to invoke the Microphone feature of the keyboard.
Is any of this possible?

iOS Keyboard Colour Changes - keyboardAppearance dark color doesn't stick

In our app, we set the keyboardAppearance to dark. This produces a black keyboard, as expected. However, if the keyboard is showing, and we press the home button, and then go back into the app, the keyboard turns white, as shown. Any ideas why?
It may have todo with the fact that the keyboard is a global object. There's only ever one keyboard in memory at any given time. Also, the OS will automatically change the keyboard color based on the background. Therefore, your setting is probably just getting overridden. I would suggest hiding the keyboard when your app enters the background, and then re-show it when it re-enters the foreground. Then when you re-show the keyboard reset the keyboard appearance via code.

BlackBerry programming - Close popup screen with a tap

I have a popup screen (a small screen) stays on top of a main screen.
This popup screen has a button, the button will close the screen when clicked.
Do you know how to close this popup screen when users tapping on the phone, outside the area that the popup screen cover (without clicking the button)?
FYI: app is designed to run on touch phone only (BB Storm, BB Torch...)
You can try overriding the touchEvent method on both the screen and the popup. If you return true in the popups touchEvent then the only touchEvents the screen will receive should be outside of the popup.
http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/ui/Field.html#touchEvent(net.rim.device.api.ui.TouchEvent)
It's not entirely clear what you're after from your question, but generally you can use this code to remove any screen from the screen stack:
UiApplication.getUiApplication().popScreen(screen);

Resources