title: Behavior of CN.getProperty("AppArg", null); on iOS
body: <p>I have a doubt about <code>String arg = CN.getProperty("AppArg", null);</code> on iOS.</p>
  
  <p>This is the behavior on Android: once you receive an "arg" (by intercepting a link), if the app switches from foreground to background and then back to foreground, the string "arg" is equal to null. This is the expected and desired behavior.</p>
  
  <p>On iOS, switching from foreground to background and then back to foreground, the value of "arg" remains the same. This is not a desired behavior, this way it is as if the last link is intercepted again every time the app switches to foreground.</p>
  
  <p>Fortunately, I found a very simple workaround, compatible with both Android and iOS:</p>
  
  <pre><code>    public void start() {
          // check if a link starting with mycoolapp:// was intercepted
          String arg = getProperty("AppArg", null);
          setProperty("AppArg", null);
          if (arg != null) {
              LinkInterceptor interceptor = new LinkInterceptor(arg);
              if (interceptor.isKnown()) {
                  interceptor.execute();
                  return;
              }
          }
  
          if (current != null) {
              current.show();
              return;
          }
          Form hi = new Form("Hi World", BoxLayout.y());
          hi.add(new Label("Hi World"));
          hi.show();
      }
  </code></pre>
  
  <p>The trick is the line <code>setProperty("AppArg", null);</code>.</p>
  
  <p>Is this behavior a bug or an iOS feature?</p>