I am getting locally saved image url and now i am trying to convert it to string. I know `absoluteString` is the method to convert url to string but in this case not working. 

my url is like this (file://localhost/Users.......) 

```
 NSString * imagestring = [entryObject.imageurl absoluteString];

```

but its throw error `unrecognized selector sent to instance 0xc36c410` . I dont know why its happening like this 

here is my object class 

```
@interface EntryObject : NSObject
@property (nonatomic, strong) NSString *descString;
@property (nonatomic, strong) UIImage *photoImage;
@property (nonatomic, strong) NSURL * imageurl;
@property (nonatomic, strong) NSString *dairyId;
@property (nonatomic, strong) NSString *eventId;
@property (nonatomic, strong) NSString *dateString;

@property (nonatomic, strong) NSString *monthwiseSeparate_String;
@property (nonatomic,strong)  NSString *sortedString;
@property (nonatomic,strong) NSData * entryimagedata;

```