UIToolBar position on iPhone X Simulator - ios-simulator

test project with TabBarController containing view controller embedded in navigation controller. dropped bar button items and activated the bar.
self.navigationController.toolbarHidden = NO;
The safe area layout guide is checked. This doesn't happen on other simulator. did someone encounter this as well? Is there any fix or workaround?

This issue has been fixed by Apple. verified with Xcode 9.2 (simulator and iOS 11.2.2 iPhone X).

Related

I am looking how to Go Back in iOS Simulator

I am looking for the keyboard shortcut for Going Back (to last screen) using the iOS Simulator.
I have tried searching, I didn't find anything.
I know this thread is old, but am gonna answer, it may help some on.
I dont know about a keyboard short cut to go back to the prev screen but on my iphone 12 simulator, I am swiping from the most left part of the screen to the right horizontally. Its working.
The iOS Simulator just runs iOS, so the way you would "go back" in the Simulator would be the same way you do on device. If you designed you application to "go back" with cmd-b (for instance), you would issue cmd-b in Simulator while your simulator device has focus. If you go back with a given swipe gesture, the same gesture should work in the Simulator.

iOS 9 status bar appears below black bar

What is happening to my app in Xcode 7 / iOS 9?
The whole screen looks condensed, as if an iPhone 4S app is displaying on an iPhone 6. It looks normal in the iPhone 4S simulator.
I thought it was a problem with the auto layout constraints in the main storyboard, so I eventually deleted everything apart from the root view in the root view controller (blue screen), and there's still a problem with it.
I tried enabling size classes, thinking that this was the problem due to previously being disabled, but the result was the same.
Is anyone else getting this problem in their existing apps running in iOS 9?
Target>General>Launch Image Source>use asset
it will create new asset named BrandAsset, place your launch images over here. Create LaunchScreen.storyboard if already not existing and select it to Target>General>Launch Screen File.
Thanks for the answers. They pointed me in the right direction, as I wasn't aware it was anything to do with the launch screen.
I found out I had no LaunchScreen.storyboard file. Digging around in the docs led me onto this:
New projects are created with a launch screen storyboard file called
LaunchScreen.storyboard. Alternately, you can create a new launch
screen file using File > New, selecting the User Interface category,
and choosing a file type of Launch Screen.
It was weird that I had to do this, as I only started developing this app in iOS 8, and apparently this was a change in iOS 8. But with iOS 9 Apple are obviously getting more aggressive with deprecating incorrectly set up projects, and the consequences were that it was bug to my app.
The positive I guess, is that all of this forced me to at least create a launch image instead of having nothing.

WatchKit Menu Items Not Displaying

I'm in Xcode 6.2 Beta 3 (Build 6C101), I've added a menu and two menu items to my Interface Controller, and created IBActions for both. I've given them titles and images, but when I run the app nothing displays.
I've read
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/Menus.html
and can't see anything about need to show menu items programatically - what am I missing?
You do not need to present the menu programmatically. The only thing you need to do is wire each button to IBActions in your Watch app extension.
The most likely issue is caching of the previous Watch app storyboard. Do a clean build and try again.
Finally, as you likely know WatchKit menus only display on a "force press". They cannot be used for the main interface of the Watch app. In the Simulator, a click and hold with the mouse will simulate a force press, and the animation will make it clear when you have done one, even in contexts where it doesn't do anything.
This was solution for me- Go to Hardware->Touch Pressure->Deep Press then try tap on watch simulator.
I have recently encountered this issue on a real device, although the menu was working as expected on the watch simulator. In my case, the problem was in SF Symbol that I've used as an image.
Everything was fixed after replacing it with an image from the assets catalogue.

AutoLayout for iPhone 4s,5,5s,6,6+ xcode how to achieve this?

I am using storyboard for Designing screens i cant able to set autolayout for 3.5inch and 4 inch screen.
You can check WWDC 2014 video 401 - What's New in XCode 6. http://devstreaming.apple.com/videos/wwdc/2014/401xxfkzfrjyb93/401/401_sd_whats_new_in_xcode_6.mov?dl=1
You can select a view from storyboard and then use preview option to see device specific UI and add specific constraints.

Customize/show/hide navigation bar in BB10 for Android app

I have ported an Android app to BB10 and it works smoothly except for 1 0r 2 issues.
One being an issue with bottom navigation bar that holds "Back", "Hide", "Info" and "Overflow" buttons. It shows up by default when the app is launched and can be hidden using the "Hide" button. To retrieve it back on screen we use a BB10 gesture(Swipe from top bezel downwards) and pin it back.
The above behavior works fine in BB10 Simulator, but not in actual device(Z10), which may be due to OS issues as mentioned in some of the posts.
To overcome the issue I wanted to know is there anyway to Customize/Show(always)/Hide the navigation bar either through Android source code or any settings in Config. Please suggest a way to resolve the issue. Thanks in advance.
I have a similar issue. But based on official answers from the Blackberry forums it appears that they would give users some control only in a 'future' release. Please take a look at this link.
http://supportforums.blackberry.com/t5/Android-Runtime-Development/Detecting-navigation-bar-presence/m-p/2466821/highlight/true#M5243
This is the exact quote,
We are looking at an option to allow users to hide the navigation bar.
Hopefully this will be available in a future release.

Resources