CRToast icon indicating copy to clipboard operation
CRToast copied to clipboard

Strange display in landscape on iPad

Open natanrolnik opened this issue 10 years ago • 16 comments

Launch your app on landscape on the iPad, and show a notification. See the result. Rotate to portrait, and rotate back to landscape - the notification is shown correctly.

natanrolnik avatar Jul 30 '14 10:07 natanrolnik

Possibly solved by #73, need to test iPad

Ashton-W avatar Jul 30 '14 10:07 Ashton-W

I'm submitting a PR now

natanrolnik avatar Jul 30 '14 10:07 natanrolnik

For me, displaying it using spring animation in the navigation bar covers the whole screen in iPad landscape mode. Works fine in portrait mode. The iPad is running on iOS 8.1

schystz avatar Nov 14 '14 04:11 schystz

happen to me to

emadhegab avatar Nov 28 '14 10:11 emadhegab

Ya I seem to be getting this problem as well.

anthonycvella avatar Dec 03 '14 22:12 anthonycvella

I can't seem to recreate this anymore. @Snwspeckle , @emadhegab how are you including CRToast? Are you using the latest tag or HEAD?

dmiedema avatar Dec 04 '14 05:12 dmiedema

@dmiedema: pod 'CRToast', :head

schystz avatar Dec 04 '14 05:12 schystz

I can't seem to recreate it at all in the demo app at all no matter what combination of switches i try to use. Could you by chance post the options/appearance you're using?

dmiedema avatar Dec 04 '14 05:12 dmiedema

Huh,...weird, I cannot replicate it anymore! :D Sorry, I'm not sure what happened, it suddenly works when I tested the old project I'm having problem at. I didn't even run cocoapod install to check for latest changes.

schystz avatar Dec 04 '14 06:12 schystz

At least its working :)

Hopefully (if this is still an issue of course) someone else will know the magic combination to replicate it

Sent from my not an iPhone

On Dec 3, 2014, at 10:00 PM, James Russell Orola [email protected] wrote:

Huh,...weird, I cannot replicate it anymore! :D Sorry, I'm not sure what happened, it suddenly works when I tested the old project I'm having problem at. I didn't even run cocoapod install to check for latest changes.

— Reply to this email directly or view it on GitHub.

dmiedema avatar Dec 04 '14 06:12 dmiedema

I was actually using 0.0.7 but ever since I switched to HEAD I can't recreate this issue.

A little off topic from the original question but, any chance for drag-able notifications in the future, similar to traditional push notifications?

anthonycvella avatar Dec 05 '14 20:12 anthonycvella

@Snwspeckle you mean like draggable to dismiss? Or also enabling pull down for more?

I haven't thought about it nor put any time into it. I've just been trying to identify issues that are open but that could possibly be fixed by a new release pod spec ( issue #118 ) and to my understanding/testing this issue would fall under that category.

I'd recommend creating an issue for that feature request though that way it doesn't get lost and forgotten.

dmiedema avatar Dec 06 '14 06:12 dmiedema

@dmiedema I think both would be awesome additions! I primarily think the draggable to dismiss would be something you'd want to implement first because it would allow us to develop notifications with a similar experience to traditional push notifications which users are familiar with.

anthonycvella avatar Dec 09 '14 16:12 anthonycvella

I have the same Strange display in landscape on iPad. with the cocoapod version 0.0.7 I change my sources to the one on GitHub and I d'ont have the problem anymore. maybe you can push the last version to pod ? -Great work by the way-

Tommecpe avatar Mar 05 '15 12:03 Tommecpe

@Tommecpe I am having the same problem! I am temporarily installing CRToast using the following line on the Podfile:

pod 'CRToast', :git => 'https://github.com/cruffenach/CRToast', :commit => '076a83cb07db500150a495b9e7515b0114d6ec0b'

I hope 0.0.8 is released with this fixes soon so I can clean this up

mrezk avatar Apr 20 '15 15:04 mrezk

I don't know if it's related but in the iPad simulator sometimes the notification is at the bottom of the screen, and sometimes it takes up the entire screen.

Hackmodford avatar Jun 18 '15 20:06 Hackmodford