{ "id": "169809", "key": "TIMOB-25310", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2018-02-13T09:08:19.000+0000", "created": "2017-09-16T21:08:04.000+0000", "epic": { "id": 168100, "key": "TIMOB-24772", "name": "iOS: Support iOS 11 / Xcode 9", "summary": "iOS: Add support for iOS 11 and Xcode 9", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios11", "searchBar" ], "versions": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": null, "updated": "2018-08-06T17:52:05.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "I notice that when building with Xcode 9 / iOS 11, the SearchBar is significantly larger. \r\n\r\nIs there a way we can control this? Or get it to retain the size it was in iOS 10? \r\n\r\nI 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.\r\n\r\nAttached 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.\r\n\r\nFrom a comment on StackOverflow it seems you may be able to control the height. Is this something we can do in Ti? \r\nhttps://stackoverflow.com/questions/46037928/ios-11-uisearchbar-in-navigation-bar\r\n\r\nOverall just wanted to share the observation and see what options we have.", "attachment": [ { "id": "63300", "filename": "iOS 11 Search Bar Size.png", "author": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2017-09-16T21:40:19.000+0000", "size": 180201, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS 11: Add the ability to change the Search Bar Size", "creator": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "subtasks": [], "reporter": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "environment": null, "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427967", "author": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "body": "I updated the screenshot so you can better see the difference. I overlaid the 2 screenshots to make sure they were the exact same scale before I put them side-by-side.", "updateAuthor": { "name": "mdelmarter", "key": "mdelmarter", "displayName": "Matthew Delmarter", "active": true, "timeZone": "Pacific/Auckland" }, "created": "2017-09-16T21:42:01.000+0000", "updated": "2017-09-16T21:42:01.000+0000" }, { "id": "427970", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's actually the native behavior. If you look at other (system) apps, you can notice the same. I would not like to change that native behavior for now.\r\n\r\n*EDIT*: Moved it to TIMOB for future implementation. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-16T22:07:40.000+0000", "updated": "2017-09-17T12:51:24.000+0000" }, { "id": "434402", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving this ticket, with some additional notes:\r\n- The Ti.UI.SearchBar received a huge refactoring between 6.3.0 and 7.0.2 and now uses the recommended API's by Apple\r\n- The extended height of the SearchBar in general is an iOS 11 UI-change that we adapted as well\r\n- Controlling the height manually is not possible with private API's and hasn't changed between iOS 10 and iOS 11\r\n\r\nIf there are more questions, let us know!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-13T09:08:20.000+0000", "updated": "2018-02-13T09:08:20.000+0000" }, { "id": "440270", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as \"not our bug\". If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:52:05.000+0000", "updated": "2018-08-06T17:52:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }