unable to send kik message on ios
<p>I am un able to send a simple text message on kik, my message contains a plain URL,
here is my sample code</p>

<pre><code>KikMessage *message = [KikMessage articleMessageWithTitle:@"some title" text:@"sometext" contentURL:[final_page objectForKey:@"gallery_url"] previewURL:nil];

[[KikClient sharedInstance] sendKikMessage:message];
</code></pre>

<p>and I am getting this warning in console</p>

<blockquote>
  <p>Warning: Attempt to present  on  whose view is
  not in the window hierarchy!</p>
</blockquote>