iphone-5

iOS 6 apps - how to deal with iPhone 5 screen size? [duplicate]

ε祈祈猫儿з 提交于 2019-12-07 18:35:24
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to develop or migrate apps for iPhone 5 screen resolution? I was just wondering with how should we deal with the iPhone 5 bigger screen size. As it has more pixels in height, things like GCRectMake that use coordinates (and just doubled the pixels with the retina/non retina problem) won't work seamlessly between versions, as it happened when we got the Retina. And will we have to design two storyboards, just

Handling the larger device size of iPhone 5 [duplicate]

牧云@^-^@ 提交于 2019-12-06 14:02:40
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to deal with iPhone 5 screen size? Watched the iPhone 5 keynote and yes the device height and a resolution of 640 X 1136. So I saw they showed how existing apps which work on that. But I believe if we use native components like tab bar, navigation bar etc. will work fine. But how about custom tab bars, navigation bars and controls which resides relative to the device orientation. So these are my questions. 1

Best way to manage screen height differences on iPhone 5 and others

﹥>﹥吖頭↗ 提交于 2019-12-06 12:06:58
What is the best way to manage screen height differences between iPhone 5 and other versions? If we use the storyboard or xib it will resize it accordingly. But if the whole view is build programmatically, how we take care of this issue. Currently what I do is that I get the whole screen height and set the rest of the UI elements according to this height like height * .7 or height *.5 .. But still it didn’t give me the best experience. Thanks, You can check for [UIScreen mainScreen].bounds.size.height (may be, use it as a static method or do a #define ) and do the screen design based on the

iOS 6 apps - how to deal with iPhone 5 screen size? [duplicate]

人盡茶涼 提交于 2019-12-06 08:46:44
This question already has answers here : Closed 7 years ago . Possible Duplicate: How to develop or migrate apps for iPhone 5 screen resolution? I was just wondering with how should we deal with the iPhone 5 bigger screen size. As it has more pixels in height, things like GCRectMake that use coordinates (and just doubled the pixels with the retina/non retina problem) won't work seamlessly between versions, as it happened when we got the Retina . And will we have to design two storyboards, just like for the iPad? I personally don't think Apple will require you to check the screen size every

how do I update my old apps to iPhone 5? [duplicate]

…衆ロ難τιáo~ 提交于 2019-12-05 18:52:41
This question already has answers here : Closed 7 years ago . Possible Duplicate: How to develop or migrate apps for iPhone 5 screen resolution? My apps use standard Apple controls. Some of them are really simple (UITableView nested in a UIView) and others are UITextView inside a UIScrollView inside a UIView When I run the apps on my new iPhone 5, they are letterboxed. How do i update them to take advantage of the new iPhone 5 real estate? First of all to remove the letter boxing, you let xcode know it should work on the iPhone 5 by adding an iPhone5 sized startup image which will be named

Running iPhone 5 Simulator on Snow Leopard

血红的双手。 提交于 2019-12-05 15:43:14
问题 I am running the iOS6 SDK on my mac running Xcode 4.2 on Snow Leopard using steps from this Stack Overflow post. I'm now trying to get the iPhone 4" screen to work. I have been able to get iOS 6 to show up in the iOS simulator under the Hardware > Version menu. When I try to load an iOS 6 device, I get the error: "The simulated application quit" - "Click Relaunch to try again". It then gives me an option to switch to a different SDK. If I choose iOS6, it again crashes. If I choose iOS 5, it

MonoTouch: Adding Default-568h@2x.png for iPhone 5 Retina 4

為{幸葍}努か 提交于 2019-12-04 20:17:52
问题 In our MonoTouch projects, is adding a Default-568h@2x.png image, at 640 x 1136 all that is needed to support the app as is on an iPhone 5 ? 回答1: That is the key change required for the OS to size the window to fill the iPhone 5 display. Redth# has posted a writeup on this and other size-related tweaks you might need to make. 来源: https://stackoverflow.com/questions/12412063/monotouch-adding-default-568h2x-png-for-iphone-5-retina-4

The iPhone 5 has 3 mics. Can I change from which one I'm recording?

拟墨画扇 提交于 2019-12-04 10:32:51
The iPhone 5 has 3 microphones, according to its product presentation: After looking through the website of iFixit and others I now know where the bottom microphone is and I've identified the one on the back, right next to the camera. There should be another one on the front, at the top, but I can't see it, so I assume it's behind the earpiece/receiver opening. (Is this correct?) I would like to record from two different microphones while the iPhone 5 is lying on it's back. (So the rear mic is out of the question). My question: Is there some way I can record from both mics at the same time and

Reachability responding with wrong status code in iOS 7 iphone 5

北战南征 提交于 2019-12-04 09:05:38
I am facing weird problem on iPhone 5 with iOS 7, i have tested same code with other devices like iPad1, 2, 3 and iPhone 4, 4s etc. with different iOS combination including iOS 7. Problem : When i turn on airplane mode i do get reachability notification as expected with status NotReachable but immediately after that app receives notification with status code ReachableViaWWAN which is not expected. Code : +(BOOL)checkReachability { Reachability* internetReachable = [Reachability reachabilityForInternetConnection]; NetworkStatus internetStatus = [internetReachable currentReachabilityStatus];

CoreBluetooth[WARNING] Unknown error: 14 on iPhone 5

僤鯓⒐⒋嵵緔 提交于 2019-12-04 02:35:35
I am able to connect to a peripheral device using BLE, but shortly after reading some characteristics, the framework returns: CoreBluetooth[WARNING] Unknown error: 14 and the peripheral is disconnected. Looking at the BT Core_V4.0 spec, I am not sure what the error means. Is the 14 a hex value? does it mean the following error according to the spec: (Part D Section 2 - Error Codes) 2.20 REMOTE DEVICE TERMINATED CONNECTION DUE TO LOW RESOURCES (0X14) The Remote Device Terminated Connection due to Low Resources error code indicates that the remote device terminated the connection because of low