Posts

Post not yet marked as solved
1 Replies
254 Views
I'm trying to display some tiles UIImageViews with various orientations as follows: let kOrientation:[UIImage.Orientation] = [     UIImage.Orientation.up,     UIImage.Orientation.upMirrored,     UIImage.Orientation.downMirrored,     UIImage.Orientation.down ]     // Construct the imageview     let cgimg = UIImage(named: "t (tile.fTileID)")!.cgImage     let image = UIImage(cgImage:cgimg!, scale: 1.0, orientation: kOrientation[tile.fOrient])     let iview = UIImageView(image:image)     tile.fView = iview     gMapView.addSubview(iview) ... but the image appears ONLY when the orientation is UIImage.Orientation.up. How do I get the image to appear at other orientations?
Posted Last updated
.
Post not yet marked as solved
3 Replies
720 Views
I am successfully adding annotations to an MKMapView in all but one case: override func Show() { fDimmed = !IsVisible(point: coordinate) var ann = gMapView.annotations gMapView.addAnnotation(self) ann = gMapView.annotations }The "ann" variable is just debugging to inspect the annotations list before and after the addition and, sure enough, the annotation is added. However, the app returns to user control without ever calling themapView(_ mapView: MKMapView, viewFor: MKAnnotation)function to actually place the annotation view.The class is declared as ViewController: UIViewController, CLLocationManagerDelegate, MKMapViewDelegate {}and as I said, with several other annotations, it works fine. Any ideas?Steve.
Posted Last updated
.
Post not yet marked as solved
0 Replies
748 Views
I'm trying to test my app on different iPhones. I've been successfully testing on my 6s for a while now, but when I register an SE as one of my 100 development devices and deploy the app (deployment works OK) it quits on launch. It runs OK in SE mode in the simulator.Thanks in advance for any help.
Posted Last updated
.