I have an issue with updating an app for use with iOS 11. I have the native app, which uses a UIWebView to show a GWT JS application.
However, pop-ups are not working in this app for iOS 11. They can open, a value can be selected, and then they will save the value and close, but then they will reopen exactly as they were prior to closing, and this will continue. If I have 2 drop downs, then the first will have the issue described above, but if I then open a second I will see the values from the first drop-down until I have clicked somewhere else on the screen to close it.
The second time the drop-down comes up it does not automatically close on selection, but does seem to change the value. Additionally, if I close the drop-down without having anything selected then it will pop-up with the same number of items in the list, but all blank, as though the initial pop-up is somehow feeding values into the second pop-up.
I have eliminated the possibility that it is solely a code issue, as the same exact native and web code has the pop-ups working as intended on iOS 11.
I would appreciate any advice on how to deal with this, either because you have experienced this issue yourselves or even just in general issue debugging hints for iOS 11, as this is relatively new to me.
Thanks.
What worked for me was replacing UIWebView with WKWebView from WebKit framework. For the moment I didn't found any better solution to this issue.
Be sure you add WebKit.framework to your target.
This is an ios issue with UIWebView, as mentioned in the previous answer. Replacing this with WKWebView will help to fix this. For anyone who is not able to replace to WKWebView, this issue is fixed in xcode 9.2 beta-2 version. So you can build your app with xcode 9.2 beta-2 (hopefully the stable version will have this fix as well), and try testing in ios 11.2.
Related
hope you will be fine. I need some help. I am using ion-textarea in my ionic project and below that I have some buttons. When I build the app and test on android it looks perfect. When I tap on ion-textarea and simply close keyboad without typing anything it works fine but when I tap on ion-textarea and start typing something and then close the keyboard, the content below the ion-textarea scrollls up and does not go down.Here is the screenshot of the error:
Looking forward to see your response, thanks!
This issue still seems to persist : https://github.com/ionic-team/cordova-plugin-ionic-keyboard/issues/155
Since this issue seems to be caused by the keyboard on iOS, the easier fix would be to use a different keyboard plugin as well as upgrade to the latest version of cordova-ios.
I have an app where clicking on different buttons in a quick succession is necessary but Cocoa seems to disallow it.
I'm using the same subclass of NSButton on all the button instances and the mouseUp/mouseDown events call actions based on the button's instance tag (defined in IB).
The problem is that clicking different buttons quickly triggers the click on the first button but not the current button being clicked. How do I fix this?
Note: I'm using Swift 3 and targeting the latest macOS.
This turns out to have been a bug with a Wacom tablet driver on macOS Sierra. The driver from a previous OS version was outdated and was registering double clicks in an incorrect way. If anyone encounters this problem, be sure to check your system default for double-click speed.
This code snippet prints your double-click speed:
Swift.print(NSEvent.doubleClickInterval())
Sometimes in Xcode 6 Assistant Editor -> Preview stops working.
Showing just "No selection" even if no errors and Storyboard is ok.
Why does this happen?
The reason is "?" (questionmark) in Project's name (maybe there is a bug with other symbols – didn't check it).
You can try to rename Project or just create new one with name without "?" in it.
You must to Kill Xcode from processes for complete and then open it again. You can do it with Activity Monitor o CLI. Voila! - Preview is working again.
Don't just close Xcode keeping the app working. Sometimes also works closing with CMD + Q.
I had similar problem, but fixed it
You must open the xib or storyboard file in both assistant editors. Click the navigation button in the second editor (either the bottom or the right editor, depending on how you stack the assistant editors) and choose Preview to get the preview to appear.
thanks to
http://meandmark.com/blog/2014/09/xcode-6-no-simulate-document-in-interface-builder/comment-page-1/#comment-2883
I have played with Xcode 6 for a while and I encountered similar problems occasionally. I never used special characters in project or class names but the problem sometimes happens.
Now I have to test all ViewControllers at starting point to see if the Assistant Editor work. If not, I will just delete the class file and recreate the same one, it usually fix the problem.
Hope this can be fixed soon.
When I "run" my app from XCode the simulator comes up and the app attempts to run, it animates to a black screen for a second and then the app closes immediately.
The app was running fine before and now suddenly won't work.
There is no output on the console, no errors or anything and the app isn't crashing (as far as I can tell).
I have tried deleting all my user specific files in the xcodeproj package, but this hasn't changed anything.
Is there any other reason why this would happen? How do I fix this?
Thank you.
ADDITION: NSLog(#"something"); in the application:didFinishLaunchingWithOptions method doesn't show up on the console.
A reboot of my Mac seems to have fixed it. Thanks guys for your help. :)
if you are using a new Xcode(4+) and previously 3, there may be issue. Try setting the Architectures (Target -> Build Settings -> Architectures) to support armv6 too, presently it supports armv7(standard) only. If my memory is not deceiving me I guess I had such an issue.
When selecting a textfield in iOS5 a weird arrow moves from the top left to bottom right of the screen when the keyboard appears. This only happens in iOS5 on the device and the simulator. When running with iOS4 it works as expected.
It only happens the first time the app runs, when i dismiss the keyboard and select the textfield again the arrow isnt visible. I have to restart the app to see it again.
Notes:
Ive posted a video to display what i'm getting http://youtu.be/4Ju2-wQ3hVY
I've tried stripping out other classes and creating a new blank nib with a textbox only but the problem still persists within my project. Creating a new project with xcode 4.3, the problem isnt visible. I've also tried with zombies enabled and didnt get any errors.
Are there new project / build settings that might conflict with the older versions?
This arrow looks like bug to me. I suggest you to file a bug report to Apple and post your issue to http://devforums.apple.com, where maybe issue will be notice by Apple employees and you may get more details on this.