Giter Club home page Giter Club logo

Comments (7)

adad184 avatar adad184 commented on June 28, 2024
It's fine when the keyboard show

2013-04-16 15:27:00.884[2777:907] {{0, 183.5}, {320, 252}}
2013-04-16 15:27:00.899[2777:907] {{0, 176.5}, {320, 252}}
2013-04-16 15:27:00.910[2777:907] {{0, 170}, {320, 252}}
2013-04-16 15:27:00.927[2777:907] {{0, 164}, {320, 252}}
2013-04-16 15:35:08.371[2777:907] {{0, 164}, {320, 252}}
2013-04-16 15:35:08.374[2777:907] {{0, 164}, {320, 252}}
2013-04-16 15:35:08.702[2777:907] {{0, 200}, {320, 216}}
2013-04-16 15:35:08.708[2777:907] {{0, 200}, {320, 216}}

but when i type some word it's going to be wierd , the origin.y became negative 

2013-04-16 15:35:09.906[2777:907] {{0, -64}, {320, 216}}
2013-04-16 15:35:09.908[2777:907] {{0, -64}, {320, 216}}

from dakeyboardcontrol.

danielamitay avatar danielamitay commented on June 28, 2024

Hey,

What 3rd party input method are you referring to? Could you possibly provide an example project that reproduces the issue?

Without knowing anything else, it would appear that the 3rd party input method is adjusting the inputAccessoryView or the keyboard view itself when the user starts typing.

from dakeyboardcontrol.

adad184 avatar adad184 commented on June 28, 2024

I'm using QQInput(http://down.myapp.com/msoft/179/1106/90117/qqinput_iphone3.0.zip)

It happened in your project's demo too :)

i patched the code myself for this situation

        if ( !tableView.dragging && ( keyboardFrameInView.origin.y < 0.0f))
        {
            CGRect screenRect = [UIScreen mainScreen].bounds;

            keyboardFrameInView.origin.y = screenRect.size.height-keyboardFrameInView.size.height-44-[[UIApplication sharedApplication] statusBarFrame].size.height;
        }

It temporarily work for me

from dakeyboardcontrol.

danielamitay avatar danielamitay commented on June 28, 2024

Er, so I can't read Chinese so it makes understanding QQ a bit harder, but if I understand:

QQInput is some sort of add-on keyboard for jailbroken/dev devices?

from dakeyboardcontrol.

adad184 avatar adad184 commented on June 28, 2024

QQInput is a input method instead of the original input method on iOS(of course must be jailbroken if you need to replace the input method )

but I haven't test other 3rdparty input instead, the original input method works fine

from dakeyboardcontrol.

danielamitay avatar danielamitay commented on June 28, 2024

Unfortunately I have no way of testing of such a scenario, and in any case what is happening is that QQInput is overriding how the keyboard works, and no offense to the developers of QQInput, but they are doing so incorrectly.

DAKeyboardControl outputs the keyboard's window frames as they are, so if there is a discrepancy when QQInput is being used, then it is as a result of an incorrect implementation. Which isn't something sanctioned or supported by Apple.

Even if I were to know how QQInput works, the frame of the UIWindow is the frame, and QQInput is doing something weird behind the scenes....

from dakeyboardcontrol.

adad184 avatar adad184 commented on June 28, 2024

yeah, so I patched it myself, I realized that's no solution for it, hope my solution can fix it :)

thank you for your time :)

from dakeyboardcontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.