Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

webview problem
Started by app75080 Apr 14 2019 12:00 PM

3 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

app75080

[GLOBAL: userInfoPane.html]
app75080
  • Observer

  • 3 posts
  • Corona SDK

Hi. I have problems when I remove a webview, and when I move to another scene I get a blank screen. Can you help me?

 

 



[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,034 posts
  • Corona SDK

If you receive a blank screen after moving to another scene, it may be that your other scene is empty or the code there doesn't execute.

In cases like this, I'd recommend the good old print debugging. Just add the line: print("did we get here?"), to where your new scene is supposed to be created. If you don't see the print in your console then your code simply doesn't run.

With these kind of issues, it is best to provide the code that demonstrates your issue so that others can more easily help you out.



[TOPIC: post.html]
#3

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,606 posts
  • Corona SDK

The easiest way to get help on weird stuff like this is...

 

1. Make a tiny project that exhibits what you are seeing.  

 

2. Include all the code and zip it up.

 

3. Share the zip here.

 

To demo this should take these files:

  • config.lua,
  • build.settings
  • main.lua
  • scene1.lua
  • scene2.lua

i.e. Make a tiny project w/ two scenes that demonstrates the issue, zip it up, share it.  

 

Someone here will download it and see what is happening and give you feedback.

 

Or... as you go through this process, the problem will reveal itself.  I often find that this is the case.



[TOPIC: post.html]
#4

app75080

[GLOBAL: userInfoPane.html]
app75080
  • Observer

  • 3 posts
  • Corona SDK


[topic_controls]
[/topic_controls]