<\/HEAD>
Používám iOS 100.6 a snažím se umístit UIButton nad AGSMapView. V View Controlleru jsou MapView a UIButton pod "View". UIButton není podřízeným pohledem MapView. Jak zajistím, aby ostatní UI prvky v mém pohledu byly viditelné nad mapou? Mám tři další prvky, které skrývám a zobrazují pomocí "isHidden = true\/false" a ty také nelze zobrazit. Kód ve Swift 4.2.<\/P>
Zde je pohled:<\/SPAN><\/SPAN><\/P>
<\/SPAN><\/P>Zde je ukázka kódu:<\/SPAN><\/P>let<\/STRONG> viewMap = AGSMapView(frame: .zero)<\/SPAN><\/P>viewMap.map = AGSMap(basemapType: .navigationVector,<\/SPAN><\/P> latitude: currentLocation.latitude, longitude: currentLocation.longitude,<\/SPAN><\/P> levelOfDetail: zoomLevel)<\/SPAN><\/P>viewMap.graphicsOverlays.add(overlay)<\/SPAN><\/P>viewMap.touchDelegate = self<\/STRONG><\/SPAN><\/P>view = viewMap<\/SPAN><\/P>view.bringSubviewToFront(btnSatelliteToggle)<\/SPAN><\/P><\/P><\/BODY><\/HTML>