Posts

Post not yet marked as solved
1 Replies
672 Views
Hi, The canvas shows correctly all updates to the code, but when the run button is clicked, the keyboard is not working. I have tried a new project, deleted the simulator plist in the preferences, of course, cleaned and built again. Nothing works, and it is driving me nuts. I run the code on a device or a simulator, works as expected, just not in the canvass. Thought? Thanks so much! Blessings, --Mark
Posted Last updated
.
Post not yet marked as solved
1 Replies
139 Views
Hey all, I submitted a build, noticed a show stopper, canceled the review of that build, now I have been waiting for hours for the cancellation to "process." This has always been automatic before. Any clue how long this takes> I want to get the corrected build into review. Thanks. Blessings, --Mark
Posted Last updated
.
Post marked as solved
6 Replies
810 Views
Hi all, Can anyone tell me why the following code works perfectly when it runs the first time, or when the app reloads? It does not however change the VC background image, although I can see it step through the code. The image does load correctly when the app is swiped away and reloaded. I am stumped. Any thoughts would be much appreciated. Blessings, --Mark if CacheManager.getIsUserBackGround() { 								 								//get a refrerence to the the documents for the app 								let fileManager = FileManager.default 								//get the path from Constants 								let imagePath = Constants.getImage() 								 								 								//check if not nil, and if not set the background pict 								if imagePath != "" { 										if fileManager.fileExists(atPath: imagePath!) { 												 												DispatchQueue.main.async { 														let backgroundImage = UIImageView(frame: UIScreen.main.bounds) 														backgroundImage.image = UIImage(contentsOfFile: imagePath!)! 														backgroundImage.contentMode = UIView.ContentMode.scaleAspectFill 														self.view.insertSubview(backgroundImage, at: 0) 												} 												 										}else{ 												DispatchQueue.main.async { 														print("error") 		//												Alerts.showAlert(title: "Attention", message: "A user selected image from the Photos Library has not been saved. \n \n Tap the Gear icon on the 'Lists' screen and select the 'Set background from Photos' option to save an image.", vc: self) 												} 												 										} 								}
Posted Last updated
.
Post not yet marked as solved
3 Replies
2.2k Views
Hi,I have a problem with URLSession not working as expected on a cellular connection and fails with:TIC TCP Conn Failed [1:0x1c817bd80]: 1:54 Err(54)Twice and then reports the following error message:Task <94BCEDF8-A46D-401A-B84B-01213E88EE6F>.<1> finished with error - code: -1005When I try to run the code over a Wifi connection it runs fine, just as expected!Any hints what I might be missing?Thanks!Blessings,—MarkPS I am really new at coding, so very likely I am missing something obvious.
Posted Last updated
.