Swift Google Maps not going under Safe Area - swift

I am using Google Maps SDK on iOS using Swift, and have tried to get the map to go under the safe area, but it always respects the safe area.
I have attached the storyboard setup in the images.
How would I stop respecting the safe area and fill it?

Related

google maps flutter my location blue dot compass arrow

update question:
I am facing a problem when using google map flutter.
Normally in the google map application, the current position will be displayed with a blue dot and trimmed beam, but in google_maps_flutter, it will display a blue dot and an arrow indicating the direction of the compass. currently when i rotate my phone the beam on google maps app moves in the direction of the phone but the arrow on the app using google_maps_flutter doesn't move or moves very slow and wrong direction. everyone can test it with the example of google maps flutter below. Has anyone encountered this problem can give me advice or a keyword to solve. Thank you everyone for reading.
if anyone wants to try can pull directly from google_maps_flutter example. Install on device -> settings -> enable GPS permission -> open app -> user interface -> mylocation marker. tks
link git hub example:
https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter/google_maps_flutter
blue and compass arrow in google_map_flutter
blue dot and the beam that indicates in Google Maps application
This button is provided by the Google Maps Flutter plugin directly. I think, it is there for compatibility reasons and it does not play well with other widgets wich are overlapping the map and it is not customizable, as far as I know.
My suggestion is to disable this button and use your own buttons to control the GoogleMaps widget. Use Floating Action Buttons for example.

Taking a screenshot of user defined area in swift macOS

I am developing a macOS app which requires the user to select an area of the screen and then the area(screenshot) is converted to an image.
Right now I can’t seem to find a way to let the user draw the rectangle which allows the user to select the region of which to take the screenshot.
Although there are a lot of sources stating how to take screenshot on iOS, the same can’t be said for macOS.

visual assets in iphone app / xcode

I am new to ios dev, and wondering what are best practices to manage visual assets that are integrated into the app in xcode. Do people have copies of each UI for each form factor, including orientation? resize programmatically? other ways? I am doing all my UI programmatically but no idea whats the best way to manage the assets, meaning, the actual PNG files.
Whenever possible, I like to use resizable images. UIImage has a method resizableImageWithCapInsets:resizingMode: which takes a condensed image and stretches the center row, column, or single pixel as wide or as tall as you want it. This is how iOS creates a lot of its buttons, including the buttons seen in action sheets.
If you need to have separate assets for orientations, I would recommend using suffixes on the file name. So you might have Button-Portrait.png and Button-Landscape.png. You could also add a category on UIImage that takes an image name, detects the current orientation, and gets the actual image file.

How does a UIStoryBoard change on iphone 5

I have an already shipped app on App Store that made use of Storyboard.
I see from the keynote, comparing to previous model that iPhone 5 has a taller screen.
I wonder how this will impact on my esisting storyboard, because from my 'app point of view' there's only one difference which is the background.png. All the rest is just plain UITableView that can just fit more rows.
I cannot find any document for this on Apple site (I have always been so noob in finding things on Apple developer site).
Has anyone made adjustment to his already developed and published app to match with new layout ?
If yes, do I have to develop a brand new storyboard, or is there an adjustment to be done with code ?
[UPDATE]
I am reporting my experience, now that Xcode 4.5 is long shipped for development.
Xcode itself, as some suggested, asked me if I would like to enable tallest screen support by creating a default png. After saying yes, I had to enter each segue in storyboard for some adjustment, change png background (which was unstrechable by design) with a tallest one, change stretching settings and redeploy.
It has been an annoying work because I have quite some segues, and Xcode doesn't allow to reuse templates within Interface Builder.
Old apps without 1136x640 resolution support will run letterboxed, with black areas on top and bottom.
You can enable new layout support for existing project simply by supplying new Default-568h#2x.png loading screen. Take heed though, you'll have to test your old interface on both old and new resolution (via iOS Simulator) to make sure everything looks good and works as designed.
Its been said when iphone 5 is launched that your app view will be filled with black color on top and bottom if it is not taking account for the increase size ( not designed for iphone5 screen)
so your app will just work fine but will have black border on both and top to filled the extra space..

"Instant alpha" function in iPhone app

Is there anything in the SDK which would allow you to replicate the instant alpha functionality found in some mac apps (Pages, Keynote, Preview) on the iPhone?
Basically my objective is to take a picture which contains a main object against a fairly even background, and eliminate the background leaving only the main object. The user could select the areas that represent the background. As an example, from this original: http://i.stack.imgur.com/vOgvn.jpg
We would get this image after applying the effect (white background is transparent): http://i.stack.imgur.com/McGwA.png
In the SDK, no. You'd have to loop through every pixel and check it's color and see if it is within some threshold you have specified.