Comments (10)
I'm unable to reproduce this problem in the demo project. Can you please provide a demo?
from iqkeyboardmanager.
Hi Hackiftekhar,
Thanks for having a quick look. To be honest, I did omit a view details: We are using .Net and are importing a linked .a file from your project.
This was working so far but stopped working in .Net 8 and xcode 15.
We were hoping you had an idea as to where we could look for this issue, along the lines of "Ah, that is probably this setting".
That said, we have since implemented a very simple version of our own pure in C# code, so this isn't as urgent anymore (even though your library provides better results).
If you want, I can still provide a demo in .Net version probably, else you can close this issue.
from iqkeyboardmanager.
@Joost-Jens-Luminis as you are using .Net and importing .a file from this project. I'm now more interested to know that if you are using the Objective-C version of the library or the Swift version of the library? So that I can look specific code.
from iqkeyboardmanager.
I was using the Objective-C version of the library.
from iqkeyboardmanager.
Are you sure you have set the ForceLoad = true?
[assembly: LinkWith ("IQKeyboardManager.a", SmartLink = true, ForceLoad = true)]
from iqkeyboardmanager.
ForceLoad is false in our case. Could that be the issue?
from iqkeyboardmanager.
I know that there is a problem when having Objective-C category inside static library, the Xcode does not load them by default.
We have to force load it. Some description here:- https://stackoverflow.com/a/3998700
I can see your project is not able to find viewContainingController
variable which is inside a UIView category in code. So you should be looking relevant option how you can set -all_load
to the Other Linker Flags
in your project.
from iqkeyboardmanager.
That sounds like a clue, I will look into this tomorrow (I don't have my Mac with me at the moment) and get back to you.
from iqkeyboardmanager.
Sure! I assume the ForceLoad = true is the same thing which -all_load do in Xcode projects. So try it very first.
from iqkeyboardmanager.
Unfortunately it didn't solve the issue. We get the same error, the good thing though is that now the exception comes in managed code rather then the unmanaged code, this means we can handle the exception earlier and it doesn't resolve in an unhandled exception. But that doesn't help with solving the error I think.
Due to our internal timelines, we have already put a work around in place (some custom code of our own in C# rather then your library). After internal discussions we have decided to keep this for now rather then to put more resources into finding a solution that works with your library.
This decision is based on the fact that; .Net 8 isn't released yet (it's in release candidate status at the moment), the current implementation is basically a .Net library which links to a static objective-c library, which contains a copy of your code and a pure C# implementation is better manageable by us (we have no objective-c/ios experts in our team).
That said, if you feel you want to continue the research into this let me know and I will to try and help you out in my spare time, else feel free to close this ticket.
I do want to thank you for your time though. It's much appreciated.
from iqkeyboardmanager.
Related Issues (20)
- iOS17 privacy policy HOT 5
- Xcode 15.2: Carthage build task fail with exit code 65 HOT 1
- additional bottom gap between the last input box and the keyboard HOT 1
- disabledToolbarClasses , enableAutoToolbar - are not verified before call func addToolbarIfRequired() HOT 1
- Jumping content for the first time HOT 1
- disable IQKeyboardManager inside swiftui HOT 2
- crash [UIView(IQToolbarAddition) addKeyboardToolbarWithTarget:titleText:rightBarButtonConfiguration:previousBarButtonConfiguration:nextBarButtonConfiguration:] HOT 1
- Upload Privacy Policy HOT 1
- privacy manifest for major version 6 HOT 4
- Reference that makes memory leak HOT 4
- IQKeyboardManager version 6.5.18 privacy manifest is different with master HOT 1
- Aviator HOT 1
- Aviator
- Keyboard space is not removing insets from the ScrollView correctly HOT 1
- Aviator
- Unable to change done button text HOT 1
- parentContainerViewController case Page jam HOT 1
- Layout breaks after updating to 6.5.15+ HOT 3
- IQKeyboardManager中1112行,没有判断是否开启工具栏 导致用户设置工具栏隐藏时还是会意外显示出来
- KeyboardDistanceFromTextField设置10,实际距离差不多能达到100以上
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iqkeyboardmanager.