uistatusbar

Is there a way to hide “Back to Safari” from status bar in iOS9?

梦想的初衷 提交于 2019-12-28 14:09:09
问题 How to hide this < Back to Safari from status bar programmatically? I'm getting it in my app – as I'm going out from my app if a user wants to login with their Facebook account. Here's the scenario for which I don't like (want) "Back to Safari" in my app. At first launch of the app (and user not logged in). User choose Login with Facebook option. Facebook iOS SDK comes into the picture, it takes me to the Safari. I logged in and back to the app But, there's "Back to Safari"... It shouldn't be

Status Bar showing black text, only on iPhone 6 iOS 8 simulator

别说谁变了你拦得住时间么 提交于 2019-12-28 08:09:33
问题 I'm trying to convert my iOS 7 app to iOS 8 in Xcode 6 GM, and when i run it on the iPhone 5s or lower simulators with iOS 8 everything is fine, but on the iPhone 6 and 6 Plus simulators, the Status Bar has black text instead of white like it is everywhere anytime else. I've set the Info.plist UIStatusBarStyle to "Transparent Black Style (alpha of 0.5)" thru Xcode, and that seems to have the desired effect everywhere else. Any ideas what is going on? (I haven't touched any of the storyboards

How to show an icon in the status bar when application is running, including in the background?

你说的曾经没有我的故事 提交于 2019-12-28 03:30:07
问题 I want to put an icon in the status bar when ever my application is running, including when it is running in the background. How can I do this? 回答1: You should be able to do this with Notification and the NotificationManager. However getting a guaranteed way to know when your application is not running is the hard part. You can get the basic functionality of what you are desiring by doing something like: Notification notification = new Notification(R.drawable.your_app_icon, R.string.name_of

Changing the status bar text color in splash screen iOS 7

淺唱寂寞╮ 提交于 2019-12-28 03:24:07
问题 I know that are already some stackoverflow questions that say how to change the status bar for all view controllers. I am currently changing the color of status bar this way: if(IS_IOS7) [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; In the application:DidFinishLaunching Additionally, I have changed the value of UIViewControllerBasedStatusBarAppearance in the plist to NO . However, in the splashscreen it stills shows the status bar text with the black

iPhone: background seems to be clipped out from under translucent status bar in SOME tabs only

耗尽温柔 提交于 2019-12-25 06:35:15
问题 This is a continuation from original problem. Part of the original problem was solved and with new understanding I wanted to be able to restate the problem that still exists, acknowledge the problem that was solved, and provide more information on it and give a better title, due to new understanding. My app is tab bar based, and has a UITabBarController that is created through the main nib (MainWindow.xib). Each tab references a UINavigationController, again created through the main nib

status bar becomes gradient after closing video in landscape mode

北城余情 提交于 2019-12-24 04:16:15
问题 Below is happening with iOS 6. I am playing video which can be played in potrait or landscape mode. Once video's Done button is pressed I am making screen to potrait mode programmatically. The problem is when I open app, I have black status bar. When I play video as potrait only, I still see black status bar as shown below. Now when I play video and shift rotation after after playback is done and click Done button, I make app in potrait mode. BUT now my status bar is changed to light black

Add customview in navigation bar like whatsapp

醉酒当歌 提交于 2019-12-23 20:15:02
问题 I want to create custom navigation bar like WhatsApp uses to display call indicator in the application as given below. I have successfully added view like above but it's not responsive because I am not able to detect touch on status bar. I can touch only part below "Touch to return to call". Code is as given below. @property (nonatomic) UIView *navigationBarTopView; UIWindow *window = [UIApplication sharedApplication].keyWindow; if (_navigationBarTopView == nil) { _navigationBarTopView = [

Change Background Color Status Bar iOS

不羁的心 提交于 2019-12-23 12:46:57
问题 So, I'm trying to make this: i tried using UIView in back of Status bar and set the color to orange, but when running, The UIView displayed right under the status bar, so it's still White i'm trying many solution in the internet but none of them work. Yes it works but when i move to other view controller and back again, The color dissapeared. What should I do? i'm using swift 回答1: UIApplication.shared.statusBarStyle = .lightContent UINavigationBar.appearance().clipsToBounds = true let

iOS7 UIStatusBar blur not correct

懵懂的女人 提交于 2019-12-23 10:51:53
问题 I am using a UIToolbar for the controls at the top of the screen (There is no navigation controller) The toolbar has the look I want, however the status bar is entirely clear. I cannot seem to mimic the blur that the UIToolbar has in it's transparency. Has anyone come across a solution to this that does not involve using a navigation controller? 回答1: In Order to achieve this you need to implement methods in the UIBarPositioningDelegate protocol: https://developer.apple.com/library/ios

iOS JASidePanel status bar customization

陌路散爱 提交于 2019-12-22 08:40:15
问题 I am using JASidePanels in my app and everything is so far so good. My design team have come up with a UI design like this, when the side panel is shown or revealed, But I am able to reproduce like! this. What all I have tried so far: I tried setting the center panels background color to the image that I have in the right panel - No luck. I tried setting the sidePanel.view.backgroundColor and also tintColor - No luck. Any help is appreciated! 回答1: This is JASidePanels's bug , however they