xcode5

iOS7 - Change UINavigationBar border color

二次信任 提交于 2019-11-28 03:29:24
Is it possible to change the grey border-bottom color of the UINavigationBar in iOS7? I already tried to remove to border, but this is not working: [[UINavigationBar appearance] setShadowImage:[[UIImage alloc] init]]; Thanks! This will help you :) [self.navigationController.navigationBar.layer setBorderWidth:2.0];// Just to make sure its working [self.navigationController.navigationBar.layer setBorderColor:[[UIColor redColor] CGColor]]; You are removing the shadow but not the border, you need to do the following: [[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init]

How do you update the app icons and launch images to support IOS 6 and 7 simultaneously?

ぃ、小莉子 提交于 2019-11-28 03:08:49
I have been stymied figuring out how to release an application from Xcode5 that supports IOS7 AND IOS 6+ in the same build, with assets (icons and splash screens) that load correctly for both, AND still render the assets for IOS 6 correctly. The major hangup I had was trying to make IOS 6 still render the icons without shading or highlighting since the "prerendered" option is no longer even available in Xcode 5's GUI. Any ideas how to get all of the content and the icon to render correctly AND support multiple OS versions? Andrew AndyBean Apple has clear guidelines on requirements for IOS 7

iOS Application Doesn't Fill iPhone Screen

守給你的承諾、 提交于 2019-11-28 02:55:29
问题 I am writing an iPhone app using Xamarin . My UIViewController does not fill the entire screen, there is a gap above and below. Here is a screen shot from the simulator. I have changed the colour scheme to make the gaps more obvious The screen design was done in Xcode below is a screen shot of the settings for the UIViewController in Xcode. What am I doing wrong, why is the View too small? 回答1: Put a 4" launch screen image into your asset catalog or info.plist 来源: https://stackoverflow.com

Xcode 5 does not see devices with ios 6.1.3

蹲街弑〆低调 提交于 2019-11-28 01:26:40
I see my device in organizer with a green dot. But I can't run my project, because there is no iOS 6 device in destination menu. With ios7 everything is ok. You can use the iOS 6 SDK on XCode 5. For that you need to have XCode 4 and XCode 5 on your Mac. 1/ In terminal : cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs 2/ Create a symbolic link in this folder to the older SDK for example for me : sudo ln -s /Applications/Xcode4/Xcode4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk ./iPhoneOS6.1.sdk 3/ Go to the Project

XCode: Undefined symbols for architecture arm64 error

感情迁移 提交于 2019-11-28 01:19:19
问题 In my XCode 5 project I use RestKit for REST communication. Everything works fine with the simulators, but generating the ipa file, I get the following error: ld: warning: ignoring file /Users/joseph/Library/Developer/Xcode/DerivedData/XXXXXXXXXX-gdwdekevxtdfivfpsnmyykeqhulk/Build/Products/Debug-iphoneos/libRestKit.a, missing required architecture arm64 in file /Users/joseph/Library/Developer/Xcode/DerivedData/XXXXXXXXXXXXX-gdwdekevxtdfivfpsnmyykeqhulk/Build/Products/Debug-iphoneos/libRestKit

How can I Quick Look custom objects with Xcode 5 visual debugger?

早过忘川 提交于 2019-11-28 00:20:41
问题 Xcode 5 has a great new feature where you can hover over a variable name and get a visual representation of a UIColor, UIImage, or even UIBezierPath. I vaguely remember a comment at WWDC where developers could either conform to some protocol or override some methods on any NSObject subclass in order to participate in this new debugging feature. I would love to add this to a bunch of my model objects to help me debug. Anyone know whether this is a real thing yet, or even if they hinted at it

Reference to 'X' is ambiguous

吃可爱长大的小学妹 提交于 2019-11-27 21:56:10
After several changes to my project I suddenly get this build error: Reference to 'kCGImageAlphaPremultipliedLast' is ambiguous and when when taking a look at the error it shows me that it is referenced 4 times: Can someone please tell me how this can happen and how can I figure out what is causing this? I am not importing anything from CoreGraphics explicitly and my Prefix file only imports ´Foundation.h´ and some self made macros. I am however importing several headers containing pure C code but they are all encapsulated in something like this: #ifndef __MYCCODE_H #define __MYCCODE_H //

SpringBoard failed to launch application with error: -3

荒凉一梦 提交于 2019-11-27 21:52:52
I'm getting an warning as 'SpringBoard failed to launch application with error: -3'. This happens when trying to run application in Xcode 5. Jayprakash Dubey Finally...found solution! Solution 1 : Just quit Simulator and clean Xcode. The fresh build will not show this Alert again. The possible reason for this might be switching between 64-bit simulator and 32-bit simulator. Solution 2 : If the problem still persists then delete the App from Simulator and re-run the code. This will work since the app contents are freshly loaded. Springboard (also known as Home Screen) is the standard

uiwebview not resizing after changing orientation to landscape

时间秒杀一切 提交于 2019-11-27 21:48:22
问题 I'm coding an iPhone app in which I have a UIWebView that loads a website with a responsive design. The problem I have is when I rotate the devices to landscape: the UIWebView rotates but it keeps the same width as the portrait mode. I spent the last 5 hours searching all over the net, I found some solutions that I used but without success... in my html page i'm using <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> i tried using

Submitting iOS app to app store application identifier invalid

元气小坏坏 提交于 2019-11-27 20:37:31
I'm using xcode 5 and I guess I'm missing where to change the bundle identifier. When I try to validate my app for submission to the app store, I get two errors.... Invalid code signing entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Speicifically value 'K8TE8KDZ95.com.iclinical.child' for key 'application-identifier' in 'Payload/iResus.app/iResus' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.' followed by the bundle identifier and The executable at Payload/iResus.app/iResus in