This question already has answers here:
How to hide the shortcut bar in iOS9
(8 answers)
Closed 4 years ago.
I working on an app that is running on iPad with an external keyboard. I have a textfield at the bottom of screen. I tap in it, and this gray bar appears at the bottom of the screen, covering the textfield. In this case, I don't want it at all. What is it called? Is there some way to disable it?
It is the virtual keyboard. Every app, even on iPad, even with an external keyboard, must avoid having important interface covered by the virtual keyboard. You should take the usual steps for doing that, responding the keyboard-will-show notification in the usual way.
Related
This question already has answers here:
Change the iOS keyboard layout to emoji?
(3 answers)
Closed 9 years ago.
Can I toggle between the standard keyboard and the Emoji keyboard as the input view for a UITextView even if the user doesn't have the Emoji keyboard added as one of their keyboards in Settings?
No, you can't, I'm afraid. The Emoji keyboard is effectively a "language" setting that the user has to make and you cannot influence that.
The only thing you can change is the keyboard type.
You might want to experiment with a custom keyboard view, like PMCustomKeyboard if that feature is really important to you.
I've also found an interesting article that might help you: Customizing the iOS keyboard.
This question already has answers here:
Status bar and navigation bar appear over my view's bounds in iOS 7
(20 answers)
Closed 9 years ago.
I have been stumpted by the fact that apple is making the StatusBar Overlay the viewController...or the bounds of my application. Is there a way i can move the TitleBar down in the StoryBoard? or do i have to guess where to place it? I am confused on what to do, now that the move to iOS7 has come. Here is my TitleBar in the application and in the Storyboard:
and:
How am i supposed to make this work? This is what i would like it to look like, without the green, but black.
I even tried what is in this post, but nothing helped. iOS 7 - adjusting for status bar
You need to read the document "iOS 7 UI Transition Guide". The simplest way to not let the status bar overlap the content of your view is to have a 20px high view sitting at the top of the view. That way your content won't move behind the statusbar. That being said, if you are using the UINavigationController as your "TitleBar", you shouldn't even need to add the 20px view, as the navigationcontroller takes care of it for you. All of this is in the "iOS 7 UI Transition Guide".
EDIT. For your information (or for anyone else who's struggling with this) I highly recommend looking at the "Customizing Your App’s Appearance for iOS 7" video from WWDC 2013. It is so comprehensive that it will pretty much solve all your iOS 7 UI problems.
This question already has answers here:
How to detect first time app launch on an iPhone
(17 answers)
Closed 9 years ago.
I have a simple app where the buttons are in the form of logos rather than text. Things like undo, reset, settings, etc... I'm trying to keep the interface simple, so I just want to have instructions shown on the first ever startup of the app. I've seen this done in other apps, where a transparent subview with labels is loaded, then touching the window dismisses the subview.
I currently have the launch count stored in NSUserDefaults, so I just need to figure out how to add the subview on top of the main view, which then gets dismissed on a touch. I would like to just load a png that fits the screen size in the subview.
This seems simple, but I am having trouble not overcomplicating this process.
Thanks!
check for your NSUserDefaults for the first launc and if it is then you could display your image as a modalViewController and to dismiss it on touch use touchesBegan metod to dismiss this controller.
This seems simple, but I am having trouble not overcomplicating this process.
What have you tried?
There's not much required to add a view to another view, but you don't even have to go that far. You could add your instructions view in your .xib/storyboard file and set it's hidden property to YES. Then all you need to do if the user is launching for the first time (or if they ask to see the instructions again) is flip the hidden property to NO, and then back to YES when they touch it.
This question already has answers here:
iPhone popup menu like iPad popover?
(8 answers)
Closed 9 years ago.
I'm developing an app and I want to have a popup list view similar to the one in Safari on iOS:
This kind of popup with the little speech bubble style arrow and a thin border appears on a number of apps. Is it a standard component? If so how can I create one?
It's called UIPopoverController.
You create it with it's designated initializer
– initWithContentViewController:
I strongly recommend you to read its docs:
If you are developing for the iPad, use a UIPopoverController. However, popovers are not supported on the iPhone natively. Instead of using the popover on the iphone, I would created a new scene that contains what you wanted int your popover.
However, if you are committed to using a popover on the iPhone, there are a variety of third party APIs that you can take a look at. WEPopover is one of the more popular ones.
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
How can I disable the display of the Notification Center when pulling down on the screen?
May be the question is incorrect and really I think this is impossible to implement, but never the less, I'm interested in finding the answer.
I wanna deactivate usual iPhone behavior: when user touches status bar and drag down, iPhone Info Panel appears.
So, when user does that, nothing should happen.
Thank you in advance!
You can't "deactivate usual iPhone behavior". You can't change anything on the device. The only thing your app is in control of is your app. Your app can't affect anything else on the device. If you want to change any settings on the device, you can't. The user of the device has to do that. They own the device, it is up to them. Not your app.
Unless it's jailbroken, but that's another story.