Annotation for text selection goes away with device rotation for new pspdfKit 5.3.6 - pspdfkit

I am using pspdfKit for my app. Previously i was using 4.4.X version. Now I have upgrade it to 5.3.X.
After selecting text for annotation if i rotate the device the selection goes away. Previously it was staying. As far as user don't removes that by tapping on screen or somewhere else on screen. Same is happening with video after tapping on video if i rotate device it goes away.

PSPDFKit founder here. I just tried that with 5.3.8 and can't reproduce the selection vanishing issue. Can you open a ticket on https://pspdfkit.com/support/request with your license? We can help you much faster over there. Thanks!

Related

gwtbootstrap3-extras slider does not work properly on IPhone6s (OS.10.2.1)

I tried to use the Slider in my project.
When I tried to drag it using Chrome developer environment with device emulation turned on the tool-tips showing the current value are visible, but I cannot drag it.
When I tried the very same project on my IPhone, I can drag it perfectly but the tool-tips don't show up, so I can't see the value.
Any help will be very much appreciated.
I found out that using the attribute does the trick and it actually works on touch devices like my IPhone 6s . This is remarable because tooltips don't work on buttons using gwtbootstrap3. Actually they work but they take the first tip to show up. So you need to tip twice on a button which is not good.

iPhone front camera - tap to focus?

I'm trying to figure out if tap-to-focus is possible via the front facing camera device. I've seen on the iPhone4 wikipedia that it supports focus, but not much more detail. When I call isFocusPointOfInterestSupported on the front facing camera it returns NO, so...I would assume that it isn't supported. However, the apple camera app seems to have some tap support on the front facing camera - is this focus or is it adjusting exposure at the tap point?
To what capacity is focus supported on the front facing camera?
Thanks in advance for any response.
You can check on the Device Capture Settings of this page (documentation) that it doesn't support focus
https://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/04_MediaCapture.html#//apple_ref/doc/uid/TP40010188-CH5-SW2
and you can see it with your actual phone, even if you move it back and forth it wont change the focus unlike the back camera.

iOS Simulator v5.1 window is missing device frame and Home Button

Is there a way to revert the look & feel of iOS Simulator window back to how it used to look in 5.0 and older versions?
P.S. I know Cmd-Shift-H shortcut for Home Button.
For anyone who comes here with this problem, but does not read the comments, you can get it back by hitting CMD-1 (as noted above), but it will only show for the full size emulation, if you want it zoomed out, it goes away.
then you have to use the shift-cmd-H to click the home button. And you can do it twice to simulate the click-click to show running apps, and then close them. (Don't press and hold tho, that will just trigger it to keep opening/closing the running apps window)
If you have a Retina Display macbook, you must set set the display to the highest resolution to see the iPad/iPad Retina frame on the simulator.
Hope this helps someone out!
You have to Choose Hardware > iPhone, and THEN hit Command + 1...I'm surprised nowhere else was this posted in this order. Happy Coding!
I had the same issue with a previous SDK and I had to reinstall the SDK in order to have the frame back again (I needed it for some screen shots).
So I am almost sure that it is not related to the retina resolution.
Unfortunately it is not possible to bring back device frame around display - I believe it's because of necessity to save up display space when simulating iPad's retina display. Maybe some day, when MBP, MBA and other Apple's machines will have retina displays, device frame will be back ;)
Note: if someone proves me wrong and we can have device frame, I'll of course mark his/her answer as correct one :)
This page explain it all:
http://iphonedev.tv/blog/2014/2/25/xcode-fix-show-the-iphone-simulator-skin-on-a-retina-display
Option 1: Turn Off Scaling
If you scale the size of the iPhone simulator to 50% or 75% the skin will not display.
Option 2: Get a Retina Display
No retina display, no iphone frame
Just hitting CMD-1 didn't work for me, nothing happened.
However, after switching repeatedly between CMD-1, CMD-2 and CMD-3 in a quick manner, all of a sudden I got the frame back! Hope it helps others!

Tap to focus on camera apps, Supposedly not possible, but a bug in my app enables it (although useless)

I would like to get tap to focus in my app and the controls are hidden
Supposedly this is impossible but I know its not. I have a simple iAD dragged into an overlay, no code or anything. When I click on the iAD nothing. but when I close it with the home button I get a modal exit of the nonexistant iAD and the camera apps relaunches but in the top left with only a small portion viewable. But this time the tap to focus is enabled.
So how can I do this without the bug?
Thanks!
Guess no one got it? I just showed the controls to take a snap and zoom and focus came up!

i image does not work good in utility app on iPhone app

I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app also - same issue. Thus its not an issue with the code I believe.
Any help to resolve this issue is much appreciated.
Thanks,
AJ
This is a problem because the 'i' button is not very big by default and touches are missed easily.
You need to put another button in front of the 'i' button with the 'Custom' type in Interface Builder, so that it doesn't have any image. Then you can make this invisible button much larger and connect it to the same action as the info button.
You also need to enable "shows touch on highlight" in Interface Builder so that you get the white glow effect when the invisible button is touched.