Home > Uncategorized > #Webcam on your #Wrist- monitor your house at a glance.

#Webcam on your #Wrist- monitor your house at a glance.


App Download link:


Got a webcam or IP cam at home, and you’d like to check up on your pets / kids or just to check that everything is OK? This new update to our Mobile Webcam App – gives you the ability to check out your webcam from your wrist.

It’s a first version, so the image stream is slow, but it’s a practical application of WatchOS, paired with an existing app.

A quick WatchOS tip; you can’t use the following code to download an image on a real device, even through it works on the simulator:

NSData * imageData = [[NSData alloc]
initWithContentsOfURL: [NSURL URLWithString: self.strUrl ]];
[self.imgOutput setImage:[UIImage imageWithData: imageData]];

Instead, you have to use asynchronous code as follows;

NSURL *url = [NSURL URLWithString:
NSURLSessionDownloadTask *downloadPhotoTask = [[NSURLSession sharedSession]
downloadTaskWithURL:url completionHandler:^(NSURL *location, NSURLResponse *response, NSError *error) {
UIImage *downloadedImage = [UIImage imageWithData:
[NSData dataWithContentsOfURL:location]];
[self.imgOutput setImage:downloadedImage ];
[downloadPhotoTask resume];

Hope this helps! 🙂

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: