ios6

iOS 6 dateFromString returns wrong date

倾然丶 夕夏残阳落幕 提交于 2019-12-24 03:45:33
问题 I recently upgraded to iOS 6 and have noticed dateFromString is not working correctly, unless I'm doing something wrong with my dateFormat. It was working prior to the upgrade. Code: NSString *string = @"2012-09-24 - Sun"; NSLog(@"string = %@", string); NSDateFormatter *df = [[NSDateFormatter alloc] init]; NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en-US"]; [df setLocale:locale]; [df setDateFormat:@"yyyy-MM-dd - EEE"]; NSDate *date = [df dateFromString:string]; NSLog(@

Monotouch.Dialog IOS 6 Split view Rotation issue

独自空忆成欢 提交于 2019-12-24 03:07:05
问题 BUMP .. still havent figured this out, the thing rotates, but out of view. so weird. can i provide better information to get help? STILL HAVING THIS ISSUE! its really bad i cant fix this :( help PLEASE BUMP .. please im dieing here! someone anyone! :) So, I'm using Monotouch.Dialog and since IOS 6, the rotation of my splitview controller is acting weird. It is actually rotating, but my detail view takes up the whole screen and the master view seems as if its being rotated off the screen frame

App-store submission [closed]

非 Y 不嫁゛ 提交于 2019-12-24 02:57:19
问题 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 6 years ago . According to latest Apple's new submission rules apps which would have built with ios 6 sdk will be rejected after february 1st But I can't make one thing clear : will Apple submit apps built with lates sdk 7.0 and deployment target set up to 6.0 after february 1st? 回答1: https://developer.apple.com/news/index

objective c social/social.h not found

冷暖自知 提交于 2019-12-24 02:14:05
问题 // // Social.h // Social // // Copyright (c) 2012 Apple Inc. All rights reserved. // #import <Social/SLServiceTypes.h> #import <Social/SLRequest.h> #if TARGET_OS_IPHONE #import <Social/SLComposeViewController.h> #endif I am trying to compile a simple app for iOS-6 in Xcode 5, and calling the basic Social framework provided by apple. I am getting an error of SLComposeViewController - file not found. This is a new error that just decided to show up at build time this afternoon. I have the rest

UIPanGestureRecognizer - move view instantly

主宰稳场 提交于 2019-12-24 02:00:52
问题 All I need it to move some view around based on pan gesture. The problem is that it doesn't happen instantly, just like Apple Maps, if I put down my finger on one point, and move it fast to any direction, the view will move with a delay, meaning I will be able to see the point that I put my finger on, and that is what I don't want. Maybe it is impossible due to hardware limitations since in the simulator it works fine. Or maybe there is a better way that I don't know. Thank you. - (IBAction

Limit the app working on iPhone5 only?

寵の児 提交于 2019-12-24 02:00:48
问题 I googled about it but didn't came to any conclusion : Can I limit my app to work only for iPhone5 device? **May be something like this in .plist file ** or any other API <key>UIRequiredDeviceCapabilities</key> <array> <string>iPhone5</string> </array> Anyhow, if this is achievable then can I bypass through app store approval process ? Since upto my knowledge, it may show the MetaData error if I don't upload the screenshots for iPhone4/4S. So, simply I would like to have my app running on

Appearance proxy affected by upgrade to iOS 6

心已入冬 提交于 2019-12-24 01:19:36
问题 My app implements a custom segmented control background image using: // customise the segmented controls UIImage *segmentSelected = [[UIImage imageNamed:@"segcontrol_sel.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 15, 0, 15)]; UIImage *segmentUnselected = [[UIImage imageNamed:@"segcontrol_uns.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 15, 0, 15)]; UIImage *segmentSelectedUnselected = [UIImage imageNamed:@"segcontrol_sel-uns.png"]; UIImage *segUnselectedSelected = [UIImage

Force iPad app to launch in portrait when landscape is supported

半城伤御伤魂 提交于 2019-12-24 01:17:41
问题 My iPad app contains a single view somewhere in the app that supports landscape mode. For the shouldAutorotateToInterfaceOrientation in that view to be called I had to declare in the info.plist that landscape is supported. Problem: The UITabController which is shown when the app is launched doesn't support landscape mode and I made sure to specify it in all the tabbar's view controller. Yet, when the app is launched while the device is in landscape mode, the tabcontroller is shown in

PHP/IOS6 prvent image from rotating when uploading from iphone using exif

不打扰是莪最后的温柔 提交于 2019-12-24 01:02:14
问题 I have a photo upload script written in PHP that works fine on regular pc images, however, when uploading images snapped on an iphone, it rotates them 90 degrees. Apparently, the problem is that the iphone as a newer camera encodes the image with attributes including orientation spelled out in the latest standard and I need to use exif data to correct for this. I have found two scripts in the PHP manual that use the function exif_read_data($_FILES['file']['name']); to collect the orientation

No visible interface for dismissModalViewControllerAnimated:completion

我是研究僧i 提交于 2019-12-24 00:35:42
问题 I have a UIViewController derived class which uses the method dismissModalViewControllerAnimated:(BOOL) , like this: [self dismissModalViewControllerAnimated:YES]; Since the compiler complains with a warning saying that this method is deprecated, I have changed it to the suggested replacement, dismissModalViewControllerAnimated:completion: , like this: [self dismissModalViewControllerAnimated:YES completion:nil]; But now, a get an error in that line of code saying "No visible @interface for