How to set UIToolbar height on iOS 13 - ios

I am working on supporting iOS 13 in my app and one of the problems I'm facing is that toolbars are now twice as tall on X variant phones. In the UIToolbar Docs
there is now a compactAppearance and standardAppearance but those don't seem to control the size of the Toolbar. The fact that those properties exist makes me assume that there is a way to set a toolbar to be compact. Does anyone know if this is possible?

seems to be fixed on iOS 13.1 beta 2
see https://forums.developer.apple.com/thread/120322

Related

iOS 13 UITabBarItem Offset Issue

It seems that on iOS 13 / XCode 11, when you want a tab bar item that is centered with no text, you simply don't provide a title. This is what you would expect, but in previous versions of xcode this wasn't the case, the usual solution was to set an offset on the tab bar item. The problem now is I can't find a way to appease both iOS 13 devices and older devices without doing something programmatic (I'm using storyboards), which I can't believe Apple would have such a large oversight.
Does anyone know what the proper solution is to this without putting in a programmatic system version check?

Why is iOS11 beta search bar disappearing?

iOS11 beta seems to have broken my search bar.
This video - https://youtu.be/6F1mO3l61sU - shows what happens in iOS11 (on the left) and iOS 9.3 (on the right).
This seems to be partially to do with the fact that the tableview on the right is in a view controller that takes up the right half of the screen.
The search controller and tableview are built in code.
I've tried [self.mysearchcontroller.searchbar sizeToFit] and that doesn't seem to make a difference.
I found the problem. There was an issue with iOS 8 previously where we were setting this property to fix a layout issue only.
extendedLayoutIncludesOpaqueBars = true
should be
extendedLayoutIncludesOpaqueBars = false
If you have this too, either set this to 'false' or delete the line of code. We no longer support iOS 8 so just deleting this line of code fixed my problem. I suppose if you have this for the same reason you may want to dynamically set it to still support iOS 8 but also support iOS 11.

Some Part of the Outlets are Not Showing While Running on Different OS Versions in iOS

I Have Developed an Application. In that one i Added a GMSMapView and also Two Buttons at the Bottom. If i run this Application on iOS Simulator Version 7.0 all the outlets on the XiB are Visible. But If i run this Application on iOS Simulator Version 6.1 one of the Button is not Visible. Can any one please tell what is the Reason why it is hiding one button if the Height of the Device is Same.
You can use delta value that will effect the layout for the ios 6 not to the ios7
if you are set view as ios 7 in interface buinder you need to decrease you y position show image below
-64 delta y because you use navigationbar at top so it's size 44 and +20 for status bar

iOS 7 status bar supposed to overlap content?

I have recently updated my XCode to 5.0.1 as to be able to test my application on iOS 7.
Everything seems to be working as expected, but for some reason the status bar is overlapping the screen's content.
Now, I am still able to see the overlapped content as the status bar in iOS 7 is translucent, but it looks very weird.
I could always move my content down a bit to compensate for the height taken up by the status bar, but how would that look in iOS 6??
Is this intentional on Apple's part? Is there a standard procedure we as developers are supposed to follow to get this looking how it should?
Also, should I just add 20 pixels (or whatever the height of the status bar is) to the top of my view and just forget about iOS 6?
I have decided to just set my Top Space to: Superview to 20 (the height of the status bar) for all my parent views.
Looks good on iOS 7 but there is a 20pixel gap on iOS 6, and given the fact that 80% of our iPhone users have already updated their OSes to 7, I think it's safe to just assume that eventually everyone will be using iOS 7 and support for iOS 6 will no longer be needed.
I'm not gonna break my head anymore over this.
Thanks anyways!

Make the keyboard in my iOS 7 app translucent/transparent

I've seen that iOS 7 brings some cool features in terms of design, and I was wondering whether I can make the keyboard transparent, as I've seen in some apps.
If so, how can I do it?
I've done a bit of research but haven't found much about it.
Assuming you're working with Xcode 5, the keyboard in iOS 7 IS transparent by default. You don't have to do anything. In IB/Storyboard, place a UITextField onto a ViewController, and turn that ViewController's view green (or some other color). When you click in the UITextField and the keyboard comes up, you'll notice that you can see the view's background color through the keyboard.
In order for the keyboard to be translucent by default, you will need to build your app on Xcode 5 with your Base SDK set to iOS 7.
If you are using an IB file originally created in an earlier Xcode, click on the File Inspector and change the View As property to Xcode 5.

Resources