fpg1503 / UIToast

🍻 An Objective-C class that adds Android-style toast notifications to iOS.
MIT License
1 stars 1 forks source link

if i create a UITextField #3

Open StevenGardnerGMJ opened 8 years ago

StevenGardnerGMJ commented 8 years ago

if i create a UITextField , the UIToast cannot show , I don't know why ?

fpg1503 commented 8 years ago

Let me see if I get this: If there is a UITextField on screen the UIToast does not appear? That seems a bit odd. Do you have a demo project where I can see this happening? Did you call - [UIToast show]?

StevenGardnerGMJ commented 8 years ago

demo in my github( I fork yours) https://github.com/StevenGardnerGMJ/UIToast I tried to solve the problem, but another problem appeared. when I use code {window = [[UIApplication sharedApplication].windows lastObject]; } the toast was disapper fast more than I expected.

I find that it only happen in ios9