How to upload 60x60 tab bar icon in IOS - objective-c

I'm using XCode 6.1 and have uploaded 30x30 icons for my tab bar icons. But of course I should be able to upload 60x60 for higher res ones, right? But for the life of me I can't figure out where the option for that is in the upper right corner of the editor. I only see the option to choose one image. Can anyone help me?
Thank you in advance,
Brent

First of all you really need to include up to 3x images now for iPhone 6 plus
Add your images for your tab bar icons to your project eg:
tabBarIcon.png, (30x30)
tabBarIcon#2x.png, (60x60)
tabbarIcon#3.png (90x90)
Then in XCode editor select tabBarIcon.png and at runtime the correct image size will be selected for the device you're targeting

Related

Leading space to safe area , instead of saying top margin in Xcode 9?

I am getting this new feature in Xcode 9. I am attaching the snapshot for the same. What does the safe area mean, in Xcode 9.
Safe Area
Apple says is the portion of your view that is unobscured by bars and other content. Source: Apple - safeAreaLayoutGuide
My explanation:
It is the guide for iPhone X for you to avoid the top notch and the bottom part for the swipe gesture that replaced the home button
Here is a visual image for clarity:

new to Xcode 7 ; simple label will not center in the simulator

I am taking a class online and one of the projects is to create a label.
In Xcode, I have centered it on both the vertical and horizontal axis, but when I run the simulator, and its always to the right side, not centered. I even tried it with other simulated phones.
This happens with text fields too.
I'm really not sure what is wrong, because in Xcode it is displaying correctly.
Follow these steps.
First Drag and drop a UILabel.
2.Check below picture
Now click on the green circle icon (right - bottom corner, second from left) shown in below image
Then you can see a popup appears like below image, click on "Horizontally in Container" option.
5.Click on this red circle icon(right-bottom corner)(next to the previous green circle icon), Then you can see another popup like below image.
Now you can see a popup like this
In this Uncheck " Contrain to margins" options so it will look like this below image
Save and Run your code, so you can see the UILabel at center for all devices.
Output will be like

How to make photoshop right sidebar smaller?

I have OS X El Capitan 10.11 and Photoshop CC 2015. My issue is width of right sidebar - I want to make it narrower, because currently is way too wide for me and it makes workspace way too small to work on big files. I'm trying to hold LPM on one side of sidebar and I can make it wider, but can't make it narrower. I'm enclosing screenshot with selected sidebar and current width. How I can make it narrower?
Thank you for help!
Click here to see screnshot
Each panel has a different set with, for example Color/Kolor is actually thinner than Swatches/próbek. So I imagine the right hand sidebar will not reduced down in width lower than the largest panel. If you drag both Kolor and próbek off the right hand menu and create them as floating tabs you can then scale them as small as possible to see what I mean. They can then be locked back into the right hand menu

iOS 8 Constraints

I have an application in Xcode with storyboard. I have a label in center and background image.
I added 4 constraints for both label and background image view. But when I run my app on simulator everything probably works, but text does not scale in label.
Can someone help me?
As per you your question.
1.) Set label as vertically and horizontally centre.
2.) Then you need to give it leading and trailing space and you also need give aspect ratio to the label.
3.) Then you to set Alignment,Baseline,Auto shrink,mode and line break.
Please View the below images of how the constraints which i've set and how i've changed the size of text. I've also added result images for iPhone 5,6 and 6 Plus.
Result:
iPhone 6 Plus:
Hope this will solve your problem.
Thats because the text is too big, to be displayed on your chosen device (iPhone 6). What you need to do, is select the label (in storyboard), go to Attibutes Inspector, then set the Autoshrink to Minimum font size, then input your minimum font size.

ios APP icon not showing correctly when having border

Hi I have app icon which has a border in it. Now the problem is that it is not displaying it correctly in the iTunes. I have also attached the screenshot of it. Please let me know what wrong am I doing. The icon being displayed is just a sample from the other app which has the same issue.The image is 512*512 rounded.
You should avoid rounded corner icon, because Apple applies masks to your icon image for this. Provide a sqaure-ish icon of dimensions 120x120 pixels.
You should avoid rounded corner icon, because
Hope that helps!
Or if you really want to add border by yourself then you need to follow these guidelines to add border
http://tobiasahlin.com/blog/exact-border-radius-for-ios-icons/