Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIAlert not working under UIWebView #207

Open
poc7667 opened this issue Oct 6, 2015 · 0 comments
Open

UIAlert not working under UIWebView #207

poc7667 opened this issue Oct 6, 2015 · 0 comments

Comments

@poc7667
Copy link

poc7667 commented Oct 6, 2015

UIAlert not working under UIWebView

If my app is in the background, i can receive the notification alert.

But if my app is in the foreground and focus on the UIWebView the alert window won't show

any idea? Thanks so much

def application(application, didReceiveRemoteNotification: user_info)  
  NSLog("%@", user_info[:aps][:alert])
  NSLog("%@", user_info[:some_extra_data])
  alert_log(user_info[:some_extra_data])
end    

def alert_log(message)
  UIAlertView.alert('This is happening, OK?', message) do
    self.it_happened!
  end    
end 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant