SWIFT iOS --- UIApplication.sharedApplication() functions reseting all labels/alphas/hidden properties etc -


i have application has 3 buttons represent various types of "contact me" options. 1 open url safari, 1 open mail application, , 1 call number phone. have multiple elements (labels, textfields, buttons) moved on , off screen @ various times while navigating through app. of these elements have fade in effects, , highly animated.

strangely, when navigating through app , tap website button , mail button, of elements either faded out or off screen same view (alpha = 1.0 when should 0) once have either cancelled phone call or cancelled email composition leading me app. of elements on top of each other. more odd opening web page not have same affect , placed correctly on screen , has desired effect.

i have no idea going on.

uiapplication.sharedapplication().openurl(nsurl(string: "tel://xxxxxxxxxx")!)  uiapplication.sharedapplication().openurl(url)  var mailmessage:mfmailcomposeviewcontroller = mfmailcomposeviewcontroller() self.presentviewcontroller(mailmessage, animated: true, completion: nil) 


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -