SwiftyGiphy icon indicating copy to clipboard operation
SwiftyGiphy copied to clipboard

Search Text Field is no longer attached to the navigation Bar

Open ivan-honeycommb opened this issue 6 years ago • 3 comments

image uploaded from ios

ivan-honeycommb avatar May 02 '18 18:05 ivan-honeycommb

Dear 52inc,

We recently updated the giphy cocoapod to version (1.1.1) to bring in support for Swift 4.0 And when we launch the Viewcontroller we get this issue.

ivan-honeycommb avatar May 02 '18 18:05 ivan-honeycommb

@ivan-honeycommb The screenshot below is reflective of the current behavior of stock SwiftyGiphy in a Swift 4 app, in addition to the sample app in the repo.

Have you modified or subclassed anything in SwiftyGiphy? Or have you applied any UIAppearance changes to the search bar? I can confirm the behavior of the stock project (in a production app, and in the sample app) is correct and not doing that. This means that it's very likely something in your project affecting it in a negative way.

If you can replicate it in the sample project, please let me know.

simulator screen shot - iphone 7 - 2018-05-02 at 15 34 43

amyleecodes avatar May 02 '18 19:05 amyleecodes

Had this same issue and was using IQKeyboardManager. Disabled IQKeyboardManager for your the viewcontroller and it worked for me!

Henry- avatar Sep 11 '18 01:09 Henry-