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)
- It'd be good to give access to keyboard tool bar through singleton instance HOT 4
- Aviator predictor for email and password sand me
- IQPlaceholderable.swift doest not compile. HOT 5
- [[IQKeyboardManager shared] setEnable:FALSE] Crashes the application on latest version HOT 2
- Compile issue xcode 15 HOT 1
- Xcode 15: Carthage build task fail with exit code 65 HOT 2
- `UIScreen.main` will be deprecated in a future version of iOS
- xcode升级到15后,使用IQkeyboard控制键盘导致将整个背景都向上弹起了,之前是弹起的对应view,可以帮忙看下是为什么吗 HOT 2
- Bug: When use UISheetPresentationController, UI components raised more that i expected HOT 6
- IQKeyboardManagerSwift is not working with Search bar or UISearchBarController HOT 1
- When use a UITextField on a UITableview of type Group, the SectionHeader flashes HOT 3
- 聊天界面键盘弹起的时候会导致导航栏移出屏幕 HOT 1
- disabledToolbarClasses for swiftui view HOT 2
- set the extension property of textView to disable will cause the keyboard display of other objects to be abnormal HOT 5
- Bug: When use UISheetPresentationController, I touch the text field to activate the keyboard, which causes UI problems HOT 3
- In SwiftUI, the toolbar only appears after the keyboard pops up HOT 1
- SwiftUI Keyboard is blocking the bottom of the view in popup HOT 3
- Multiple commands produce PrivacyInfo.xcprivacy file error in static framework case HOT 4
- Hi I hav the app how à share it with you?
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.