ios8

iOS 8 CGAffineTransformMakeScale + autolayout not working any more

冷暖自知 提交于 2020-01-04 06:27:50
问题 There seems to be a some post related to my problem but none seems to help. How do I adjust the anchor point of a CALayer, when Auto Layout is being used? I have a scaled preview of my app (as a tutorial), which the standard view (and viewcontroller) scaled down and shown on another view. ============= = = = --------- = = - - = = -Preview- = = - - = = --------- = = View = ============= For this I use this code: previewViewController.view.transform = CGAffineTransformMakeScale(scale*2, scale*2

app name doesn't appear in permission request alert

爱⌒轻易说出口 提交于 2020-01-04 05:58:30
问题 I am using UIImagePickerController to allow the user to pick images from the device. When doing it the first time, I get a standard permission request alert, but the app name is missing.. I couldn't find any mention for this in the documentation. imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; imagePickerController.mediaTypes = @[(NSString *)kUTTypeImage]; [self presentViewController:imagePickerController animated:YES completion:nil]; Other permission request

iOS Rejection due to Google SignIn. Latest Google SignIn (4.0.0) goes to safari

送分小仙女□ 提交于 2020-01-04 05:42:10
问题 our app got rejected by apple for Design - 4.0 We noticed that the user is taken to Safari to sign in or register for an account when logging in with Google+, which provides a poor user experience. Next Steps Please revise your app to enable users to sign in with Google+ in the app. You can do this by updating to the latest Google+ SDK. We recommend implementing the Safari View Controller API to display web content within your app. The Safari View Controller allows the display of a URL and

AutoLayout Xcode6: Need autolayout constraints for this:

混江龙づ霸主 提交于 2020-01-04 04:40:07
问题 I am new in autolayout (I am good in autoresizing). My requirement is:- I have 2 view (say blue and green, width and height of both view is 300 pixel in iPhone5). height and width of both view can change according to screen resolution. X and Y origin can also change. What constraints should I use for this autoresizing masks. 回答1: It is unclear if the blue and green are siblings or if one contains the other. If the effect you want to achieve can be produced through an autoresizing mask, then

“Cannot connect to iTunes Store”

吃可爱长大的小学妹 提交于 2020-01-04 04:32:50
问题 Last night In-App Purchases were not showing on iOS7 simulator devices but today I didn't even change the code and I started getting the same error on iOS 8 devices as well. this is my class class InAppC: UITableViewController, SKProductsRequestDelegate, SKPaymentTransactionObserver { and product requst in viewdid load if (SKPaymentQueue.canMakePayments()) { var productIDs:NSSet = NSSet(objects: productOne, productTwo, productThree, productFour, productFive) var productsRequest

Images not displaying on iPad AIR, but display on other iPads

我们两清 提交于 2020-01-04 04:05:27
问题 My images are not displaying on iPad AIRs, but are displaying on other iPads. They are not displaying in Image views or on buttons. Besides my images, the Segmented Control image is also not displaying, although I can still tap on the buttons and segmented control where I know they exist on the UI. I found that background images on my buttons do display, but an image on my buttons do not. Maybe this will help - I think this started after I got the message about required 64 bit support as of 2

UITableViewCell UITableViewAutomaticDimension problems when starting from the bottom

淺唱寂寞╮ 提交于 2020-01-03 21:56:28
问题 I have an interesting problem. I have a very basic tableview with a bunch of cells of varying height. It's using the iOS 8 UITableViewAutomaticDimension and auto layout constraints. @interface ViewController () <UITableViewDataSource> @property (weak, nonatomic) IBOutlet UITableView *tableView; @property (strong, nonatomic) NSArray *sentences; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; self.tableView.estimatedRowHeight = 44; self.tableView.rowHeight =

UITableViewCell UITableViewAutomaticDimension problems when starting from the bottom

家住魔仙堡 提交于 2020-01-03 21:55:48
问题 I have an interesting problem. I have a very basic tableview with a bunch of cells of varying height. It's using the iOS 8 UITableViewAutomaticDimension and auto layout constraints. @interface ViewController () <UITableViewDataSource> @property (weak, nonatomic) IBOutlet UITableView *tableView; @property (strong, nonatomic) NSArray *sentences; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; self.tableView.estimatedRowHeight = 44; self.tableView.rowHeight =

Need help: 'Wrong Architecture' causing app to crash when launching in iOS 7 but works fine in iOS 8

允我心安 提交于 2020-01-03 20:03:36
问题 My app crashes when I launch it in iOS 7.1 but works fine in iOS 8.1 The error I get is this: dyld: Library not loaded: /System/Library/Frameworks/AVKit.framework/AVKit Referenced from: MY APP Reason: no suitable image found. Did find: /System/Library/Frameworks/AVKit.framework/AVKit: mach-o, but wrong architecture (lldb) I also noticed a similar error but with the UIKit mentioned instead of AVKit a few edits ago. Does anyone know how to resolve this? I'm using Xcode 6.1. I really don't want

iOS app crashes when first opened by URL Scheme

折月煮酒 提交于 2020-01-03 18:31:22
问题 My app handles URL Schemes. When it is already running and gets called from another app, it behaves correctly and without a problem. However, when it is completely closed (as in not-in-background-mode), and another app calls it, it crashes immediately. I've already set the "Wait for executable to be launched" option so I could debug the application:willFinishLaunchingWithOptions: but it seems that it is not getting called. I've also implemented -application:openURL:sourceApplication