Skip to content

Commit

Permalink
update some parts of interface
Browse files Browse the repository at this point in the history
  • Loading branch information
MatoiDev committed May 25, 2022
1 parent d14040d commit 4f02318
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions decard/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ -(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingM
// pick picture
UIImage *img = [info objectForKey:UIImagePickerControllerOriginalImage];
loadedCard.image = img;
loadedCard.contentMode = UIViewContentModeScaleAspectFill;
loadedCard.layer.cornerRadius = 15;
loadedCard.layer.borderWidth = 15;
[loadedCard.layer setBorderColor:(CGColorRef _Nullable)UIColor.whiteColor];
loadedCard.clipsToBounds = YES;

[self dismissViewControllerAnimated:YES completion:nil];

Expand Down

0 comments on commit 4f02318

Please sign in to comment.