AutoLayout for iPhone 4s,5,5s,6,6+ xcode how to achieve this? - autolayout

I am using storyboard for Designing screens i cant able to set autolayout for 3.5inch and 4 inch screen.

You can check WWDC 2014 video 401 - What's New in XCode 6. http://devstreaming.apple.com/videos/wwdc/2014/401xxfkzfrjyb93/401/401_sd_whats_new_in_xcode_6.mov?dl=1
You can select a view from storyboard and then use preview option to see device specific UI and add specific constraints.

Related

UIToolBar position on iPhone X Simulator

test project with TabBarController containing view controller embedded in navigation controller. dropped bar button items and activated the bar.
self.navigationController.toolbarHidden = NO;
The safe area layout guide is checked. This doesn't happen on other simulator. did someone encounter this as well? Is there any fix or workaround?
This issue has been fixed by Apple. verified with Xcode 9.2 (simulator and iOS 11.2.2 iPhone X).

Cocos Sharp With Xamarin.Forms PCL

While Creating Cocos Sharp Project With PCL Xamarin.Forms it gives the game layer in mid of screen how I can set it to full screen of mobile? I am mention below the steps which I am followed.
Step 1 Creating Project
Step 2 Output run on android device
Are you planning to use Landscape or Portrait?
Did you change the ScreenOrientation?
If so, you may need to change the value of the desiredWidth and desiredHeight

iOS 9 status bar appears below black bar

What is happening to my app in Xcode 7 / iOS 9?
The whole screen looks condensed, as if an iPhone 4S app is displaying on an iPhone 6. It looks normal in the iPhone 4S simulator.
I thought it was a problem with the auto layout constraints in the main storyboard, so I eventually deleted everything apart from the root view in the root view controller (blue screen), and there's still a problem with it.
I tried enabling size classes, thinking that this was the problem due to previously being disabled, but the result was the same.
Is anyone else getting this problem in their existing apps running in iOS 9?
Target>General>Launch Image Source>use asset
it will create new asset named BrandAsset, place your launch images over here. Create LaunchScreen.storyboard if already not existing and select it to Target>General>Launch Screen File.
Thanks for the answers. They pointed me in the right direction, as I wasn't aware it was anything to do with the launch screen.
I found out I had no LaunchScreen.storyboard file. Digging around in the docs led me onto this:
New projects are created with a launch screen storyboard file called
LaunchScreen.storyboard. Alternately, you can create a new launch
screen file using File > New, selecting the User Interface category,
and choosing a file type of Launch Screen.
It was weird that I had to do this, as I only started developing this app in iOS 8, and apparently this was a change in iOS 8. But with iOS 9 Apple are obviously getting more aggressive with deprecating incorrectly set up projects, and the consequences were that it was bug to my app.
The positive I guess, is that all of this forced me to at least create a launch image instead of having nothing.

Web Audio Mobile Safari Lock Screen Controls

I have a web audio player that uses Soundmanager2. Right now play/pause work on the lock screen and prev/next do not work. I worked on iOS 7 but I couldn't figure out why.
I see lots of talk about setting the track image and player controls in a native app, but not in an audio web app. That said I'd like to know why it quit working in iOS8 and what I can do to add a track image?
Update: Controls do not work in iOS 8, only on iOS7.
I found this on http://www.schillmania.com/projects/soundmanager2/doc/download/:
Side note: The prior release's pre-emptive fix for iOS 8 ended up being a non-issue, as the official iOS 8 release did not use "OS 10" in the user-agent string. Nonetheless, SoundManager2 will now correctly identify iOS 10+ vs. incorrectly flagging it as "iOS 1".
Since this question was asked Mar 21 '14 at 20:20, and the heading above it was
"version = "V2.97a.20150601"" (6/1/15), which means the update came after this question, and the edit, so
it should be able to work now.

How to customize a toolbar in Xcode 4?

Is there a way to customize toolbar in Xcode 4? Reorder buttons, remove default and add new? Also I want to turn off text under toolbar buttons, since I run Xcode 4 on 13" Macbook where every pixel is precious.
To turn off text underneath the buttons just cmd+click on the top right button (on the level with the traffic lights). This is a global thing.
The rest you're stuck with I'm afraid.
According to: http://pilky.me/view/16 toolbar customization is gone, and unlikely to return :(
As Elibud says toolbar customisation is no longer available, I use a 13" Macbook and, minimise them. I am running Xcode V3, it's a bit easier to see all the windows as you can move all the menus around and open Interface Builder separately.

Resources