Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. if let exp : String = expiredVehicles[i] {
  2. expiredVehicleNumber = expiredVehicles[i]
  3. let popUpVC = SubscriptionExpired()
  4. popUpVC.modalTransitionStyle = .crossDissolve
  5. popUpVC.modalPresentationStyle = .popover // also tried other presentation styles but none work and it is still fullscreen
  6. popUpVC.view.backgroundColor = UIColor.white.withAlphaComponent(0.8)
  7. self.present(popUpVC, animated: true, completion: nil)
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement