Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Medium
-
Resolution: Not Our Bug
-
Affects Version/s: Release 6.2.0
-
Fix Version/s: None
-
Component/s: iOS
-
Story Points:0
-
Epic Link:
-
Sprint:2018 Sprint 04 SDK
Description
I notice that when building with Xcode 9 / iOS 11, the SearchBar is significantly larger.
Is there a way we can control this? Or get it to retain the size it was in iOS 10?
I am not sure if this is what is meant to happen as part of iOS 11 and we are given no choice. Or if it is something that we can actually control somehow.
Attached is a screenshot showing the difference. Same code using the 6.2.0 SDK. The left size is built using Xcode 8.3.3 and iOS 10.3. The right side is build using Xcode 9 and iOS 11. Notice that not just the height has changed but also the position of the search icon and hint text as well. It is the height that concerns me the most as it is a lot of vertical space being used now.
From a comment on StackOverflow it seems you may be able to control the height. Is this something we can do in Ti?
https://stackoverflow.com/questions/46037928/ios-11-uisearchbar-in-navigation-bar
Overall just wanted to share the observation and see what options we have.