iphone-5

iphone5 compatibility tab bar coming 88 points above bottom line of screen

安稳与你 提交于 2019-12-11 01:54:13
问题 I have added iPhone 5 compatibility by adding the default-568h@2x.png However, the tab bar in my application does not come in the bottom as should be expected. This tab bar is added via tabbarController in mainWindow.xib. NOTE: the bottom black part is clickable, but my view does not stretch itself to fit the screen. I have tried the following already: 1) [window setFrame:[[UIScreen mainScreen] bounds]]; 2) setting freeform/retina 4 inch display in xib 3) setting full screen at launch for

PhoneGap css media queries aspect not working

妖精的绣舞 提交于 2019-12-11 01:14:52
问题 I have developed an app with iPhone as design target (i.e. 640x960 => 2:3) and I have done so using percentages for each division in layout so the ui streches itself with respect to device size. Now this works fine with iPad but I am having problems with 9:16 aspect ration devices. I have used Media Queries for the purpose but that isn't working. The default code for division is: .top_bar { height: 9%; } Now using Media Queries aspect ratio: @media screen and (min-device-aspect-ratio: 9/16) {

ld: symbol(s) not found for architecture armv7s error only on 64 bit iPhone

你。 提交于 2019-12-10 14:56:30
问题 I am receiving a ld: symbol(s) not found for architecture armv7s error but only when I run it on the iPhone 64 bit. It works for 32 bit phones with iOS6 and iOS7 and also works on the 64 bit iOS7 simulator. These are the errors I am receiving. Undefined symbols for architecture armv7s: " RKMIMETypeJSON", referenced from: _ _38-[ServiceCalls saveSupportInformation]_block_invoke in ServiceCalls.o ___53-[ServiceCalls saveHealthJournalEntry:healthJournal:]_block_invoke_2 in ServiceCalls.o ___26-

Is iPhone 5 display support *necessary* for app submission? [closed]

孤街醉人 提交于 2019-12-10 13:57:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Quick question : Do new apps submitted now NEED to have customized UI's for the iPhone 5 display? Details : I'm looking for a definitive resource / article which mentions whether new iPhone apps submitted now (i.e. after the iPhone 5 launch) absolutely MUST have full screen custom UIs for the new iPhone 5 screen

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

断了今生、忘了曾经 提交于 2019-12-10 10:57:46
问题 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, 回答1: You can check for [UIScreen mainScreen]

iOS 6 - Handle iPhone 5 screen size without Default-568h@2x.png

两盒软妹~` 提交于 2019-12-09 15:54:22
问题 We are working on a game, that renders a couple splash screens while loading. So we are not using Default.png or Default@2x.png, because it makes sense for the screen to be blank on startup. So how to do you get iOS 6 in the iPhone 5 simulator to render our game full screen without the splash screen image mentioned here? Do we just need to think about using splash screen images? Is it the only way? I would think there should be something you can turn on in Info.plist . We would still prefer

How to check iPhone Device Version in iOS?

拜拜、爱过 提交于 2019-12-08 23:34:28
问题 Hi i would like to check iPhone Device Version in iOS. I mean , currently running device is iPhone 4 or iPhone 5. I need to check the device , is that iPhone 5 or not? Because i have some problem in my app that need to know iPhone 5 or not. So how can i? 回答1: Add this code: if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone){ if ([[UIScreen mainScreen] respondsToSelector: @selector(scale)]) { CGSize result = [[UIScreen mainScreen] bounds].size; CGFloat scale = [UIScreen mainScreen]

Xcode 4.5 Uploading a iPhone 5 app only

我怕爱的太早我们不能终老 提交于 2019-12-08 09:46:15
问题 i have a app built in Xcode 4.5 with 4 inch screen/View controllers i built this app just for iPhone 5 as i sent it off to iTunes connect. once it said upload received it showed "Missing Localized Screenshots" straight away. how can i fix this i have 5 screenshots for iPhone 5 and thats it, but if i was to put screenshots for 3.5 inch screens the message goes and my app will wait for review but the one problem is when i run it on my iPod all the images/buttons are I'ver off the screen or in a

Buttons are not working on bottom of iPhone5

主宰稳场 提交于 2019-12-08 06:23:57
问题 In my iPhone app,I have used an overlay on the camera. I have 3 buttons on bottom-capture,flash,cancel All working fine on iPhone 3.5" devices.I have changed the Y position for all according to iPhone 5.Buttons are at proper positions.But none of them are working I have place brake point to each actions,they are not being called. Trying for last 3 hours-but could not figure out the issue. Any help ? EDIT I am adding all my buttons to the overlay in this -(id)initWithFrame:(CGRect)frame { if

Possible crash when loadNibNamed on jailbreak devices [UIDeviceRGBColor superview]: unrecognized selector

两盒软妹~` 提交于 2019-12-08 02:25:39
问题 My code looks like this: CGRect screenRect = [[UIScreen mainScreen] bounds]; SomeView *infoView; if(screenRect.size.height != 568.0){ // iPhone 5/5s users crash in the next line infoView = [[[NSBundle mainBundle] loadNibNamed:@"SomeViews" owner:self options:nil] objectAtIndex:1]; }else{ infoView = [[[NSBundle mainBundle] loadNibNamed:@"SomeViews" owner:self options:nil] objectAtIndex:0] } However, I get some crash reports from Crashlytics for iPhone 5/5s users as comment in the above code. I