UITextfield / UITextView native edit menu is cropped - ios

The native edit menu for all the UITextFields and UITextViews in the app is cropped in >= iOS 16.
The menu is cropped and scrolling to the most right doesn't stick, so the last buttons are unreachable.
This only reproduces in my app for any device / simulator, doesn't happen to any other apps and doesn't reproduce with the previous iOS versions.
Have anyone encountered this problem as well?

Related

iOS text labels work on simulator and older devices, disappear on newer devices

I am developing an app that has several vertical stacks of alternating buttons and text labels. The app appears and functions fine in the simulator on all devices, but when downloaded onto actual devices, the text labels are not visible with newer devices such as iPhone X.
Turns out the default text color is different on the newer devices. Black text on the iPhone 7. White text on a white background on the iPhone X was the problem. Weirdly, this issue was not correctly simulated on the simulator so debugging in XCode wasn't helpful- it had to be run on actual devices. Thanks DonMag for the suggestion on the background color.

Input caret floating over a fixed layer when scrolling

In iOS Safari, when we have a fixed header and scrollable content under it, when we scroll, the input is properly hidden by the header but the blinking cursor remains over it.
Reproduced in iOS 9.2.1 and 9.3 beta
Here is the code, to test in iOS safari
[http://jsbin.com/hoxuxu/edit?html,css,js,output]

Xcode 7.1 iOS 9.1 Simulator transparent

I just recognized that I can see thru the iOS Simulator if an UIView is defined with (semi-) transparent content. But I can not make a screenshot of it, on the screenshot the effect is gone.
The (custom) navigation bar on top has alpha set to CGFloat(0.9).
Here a screenshot taken with an iPhone 6:
Zoom in and you can see thru the simulator window on Xcode. I assume this is a bug, or is it intended behavior of the OS X transparency effects? If it is intended, can I turn it off?
Ok, I have found the problem. Actually it is not a transparency effect but a display problem. I am using an iMac 27inch with an IPS LCD display, which suffers heavily from "screen burning". Xcode is standing on this position for hours so it burned in into the display. That's why I can not make a screenshot - it is a hardware problem.
https://discussions.apple.com/thread/5255653?tstart=0
Yeah this is going to be a hardware / screen problem. Should not translate to your app.

Black bar at the bottom after update to iOS 8

I have an app on the store and I started working on the update for iOS 8 a while ago, everything seemed to work fine except for this problem I'm having with the layouts. No matter what device I test the app on, there's always a black bar at the bottom (or the side on landscape mode).
Test on iPhone 5S
Test on iPhone 4S
Is this an issue with iOS 8? How can I solve it?
I had this same issue with the thin bar along one side when an iOS 8 device was rotated to landscape. I found the solution to this problem here: Building project with Xcode 6 (iOS 8 SDK) causes landscape rotation rendering issue on iPad
The fix I did was to go to MainWindow.xib, select the Window, then go to the Attributes inspector and select the two check boxes for Visible at Launch and Full Screen at Launch.

Weird UIScrollView behavior after zooming in landscape mode

I'm trying to learn how to display a scroll- and zoomable image in iOS.
While playing with the Imaginarium example from
CS 193P iPhone Application Development, I encountered the following problem:
If I scroll as far down and to the right as possible, I can see the the bottom right corner of the image (first screenshot). This is the expected behavior.
As soon as I zoom a little bit and again try to scroll as far down and to the right as possible, the UIScrollView prevents me from scrolling down far enough to see the bottom of the image, but allows me to scroll farther to the right than necessary to see the right edge of the image (second screenshot).
I can reproduce it in the iOS 5.0 simulator (built with Xcode 4.3.0) and in the iOS 5.1 simulator and an actual iPad running iOS 5.1 (built with Xcode 4.3.2).
It seems to work fine in portrait mode. Any ideas how to fix this?

Resources