title: Resizing Universal PDF Image Asset in Swift Produces a Blurry Image
body: <p>I'm trying to scale up the universal PDF image asset in order to get a sharp output, but the image is blurry after scaling it even though the universal resource is a vector file.</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      let image: UIImage = UIImage(named: "map")!
      let imageView = UIImageView(image: image)
  
      //following line scales the image 20x
      imageView.frame = CGRectMake(0, 0, imageView.frame.width*20, imageView.frame.height*20)
      self.view.addSubview(imageView)
  
  }
  </code></pre>
  
  <p>The above code produces this:</p>
  
  <p><img src="https://i.stack.imgur.com/lna28.png" alt="">.</p>
  
  <p>The image asset setting looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/dPh33.png" alt="">.</p>
  
  <p>I need to display a sharp image at unknown sizes, so I though a PDF is a perfect candidate for this, but it continues to produce a blurry output. Any help is appreciated!</p>