Need help with NSString that returns (null)
Posted
by Guy Dor
on Stack Overflow
See other posts from Stack Overflow
or by Guy Dor
Published on 2010-06-14T05:08:52Z
Indexed on
2010/06/14
5:12 UTC
Read the original article
Hit count: 235
Hi,
I have a problem with my string that returns (null) Here's the MainViewController:
NSString *leftWebViewUrl;
MainViewController *mainViewController;
@property (nonatomic, retain) NSString *leftWebViewUrl;
@property (nonatomic, retain) MainViewController *mainViewController;
leftWebViewUrl = [NSString stringWithString:leftWebView.request.URL.absoluteString];
leftSharingViewController.leftWebViewUrl = leftWebViewUrl;
Here's the leftSharingViewController (just the NSString declaration)
NSString *leftWebViewUrl;
@property (nonatomic, retain) NSString *leftWebViewUrl;
From some reason I get (null)
Thanks
© Stack Overflow or respective owner