ios8

Images Disappearing after setting “Valid Architecture” to “arm64”

二次信任 提交于 2020-01-17 03:55:09
问题 I am updating an existing app from another developer to support 64 bit devices as Apple is going to make it compulsory. I added :- Architectures : $(ARCHS_STANDARD) valid Arch : armv7 arm64 Problem :- The slot items after stopping the rotation disappear. this happens only on i5,i6 n i6+ devices only. (Working perfect on i4s n iPad(s)) Failed Attempts: 1) Converted all float values to CGFloat for if the float might be loosing values. 2) tried to use xib of i4 in place of i5s P.S: This question

Segueing to another view controller without displaying the first in iOS 8

ぃ、小莉子 提交于 2020-01-17 01:39:45
问题 I am trying to understand the new segues in iOS 8. I have an app with a typical login screen shown initially, and if the user is logged in, that screen should not display (even for a split second) and user should be on a feed screen, which I am segueing from the initial login screen. However, I am not able to do what I want. First of all, I can only use Present Modally segue, as it's the only appropriate segue that allows removing animation. Depending where I try to segue in view controller

Sharing Extensions in IOS Apps [closed]

南笙酒味 提交于 2020-01-16 19:40:53
问题 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 4 years ago . I am new to the overall iOS Programming - Swift. I am wondering that if I create a project in xCode6 and then I would like to share an image that I took from my project for example to evernote, google drive, messages, email, facebook, twitter,so on and so on. So, how would I do that? Is it something, I need to

Submitting the Apple Watch app

折月煮酒 提交于 2020-01-16 18:35:57
问题 I am trying to submit an iOS App + Apple watch extension to the App Store. I selected the app as my target, created an archive (Product > Archive). I clicked on the archive in Window > Organizer and clicked Export (I am using the Application loader to submit the app). I selected "Save for iOS App Store Deployment" In the next window (in Binary and Entitlements), I expected to see the the app and the watchkit extension. But I see only the app. Why is this ? Is it expected ? Or did I miss some

Cordova / Ionic database(Web SQL) disappears randomly

偶尔善良 提交于 2020-01-16 16:48:09
问题 A Cordova/Ionic app I've built is having a little trouble. The problem is only appearing on one user's phone (out of about 6 different phones) Essentially when randomly using the app, sometimes the user will return to the app to find the database / state is completely blank. I have a function that they can trigger to send me the entire db, and it's as if it just randomly resets itself. There is a single call to reset the database, but it is behind a yes/no prompt so I don't think it's user

iOS 8. Change app badge number without any notifications

回眸只為那壹抹淺笑 提交于 2020-01-16 10:49:08
问题 In my app I need to set badge onto the app icon and set numbers for this badge. The problem is that I need to register user notification settings like this: if ([[UIApplication sharedApplication] respondsToSelector:@selector(registerUserNotificationSettings:)]) { [[UIApplication sharedApplication] registerUserNotificationSettings:[UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeBadge categories:nil]]; } in order to make it work on iOS8. If I run this code then on start

When I try to instantiate a UINib I get: this class is not key value coding-compliant for the key view

╄→гoц情女王★ 提交于 2020-01-16 07:50:32
问题 Followup on this question. I have an app, where the main view has one button, and a file 'popup.xib' which is now empty (Just a view, no buttons, no labels, nothing). And I want it to popup when I press the button. For some reason I get the following error whenever I press the button: ... this class is not key value coding-compliant for the key view.' I have read that this is because of outlets from the NIB which have been deleted or changed, that's why I removed all objects and what to

The UIWindow's background application is jumping at the top of views when I switch from a view content to a UITableView

故事扮演 提交于 2020-01-16 03:49:05
问题 I am in charge to update an application in IOS8. But I have a problem when I want to switch between two view (the old and the new). The background of the UIWindow's Application jumped. It appears during 1 second and disappear. I can not find the issue. I tap on a backButton to change the content view. - (void)onBackTap { NSLog(@"Standard back"); [self goBackWithAnimation:AnimatePushFromLeft]; } - (void)goBackWithAnimation:(GraphNavigationAnimation)animation { NSLog(@"History Before ---> %@",

UITableViewCell ImageView not scaling properly?

喜夏-厌秋 提交于 2020-01-15 15:30:39
问题 I am populating a UITableView with images selected by the user. I'd like to the have thumbnails in the table cells all be the same size without affecting the aspect ratio so as not to stretch/skew the images, which sounds to me like ScaleAspectFill , however none of the UIViewContentMode selections seem to have an effect. There me conflicting methods, notable heightForRowAtIndexPath , but removing this makes my cells too small. The following are my didSelectRowAtIndexPath and

No visible @interface for 'CLLocationManager' declares the selector 'requestAlwaysAuthorization'

依然范特西╮ 提交于 2020-01-15 11:14:30
问题 We are making an app to be compatible with iOS 8, but at the same time, some of our developers do not have Xcode 6 yet, so they are getting this error when trying to call [self.locationManager requestAlwaysAuthorization]; Even if it is inside an if if(floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_7_1) { [self.locationManager requestAlwaysAuthorization]; } How can we solve this to compile on Xcode 5? 回答1: The following is the proper way to deal with this. This assumes that