Friday, May 13, 2016

Thumbnail For Daily Motion Video Behalf of video id

Thumbnail For Daily Motion Video Behalf of video id

    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 100.0f, 100.0f)];
    NSString *ImageURL = @"http://www.dailymotion.com/thumbnail/video/x44miyn";
    NSData *imageData = [NSData dataWithContentsOfURL:[NSURL URLWithString:ImageURL]];
    imageView.image = [UIImage imageWithData:imageData];

    [self.view addSubview:imageView];

Upload UIImage as base64 String

Upload UIImage as Base64 String (Upload UIImage as string) //Select Pic From Camera or Gallery       @objc func btnPro...