Data dodania Pytanie
2017-06-16 20:06 Steps to take in migrating data from Core Data to Realm? »
I was reading this article by Tim Oliver (Migrating an App from Core Data to Realm) and I came across the following paragraph, which has been the most...
(1) odpowiedzi
2017-06-16 12:06 Trying to watermark a image on video using AVFoundation »
I have taken a png image and a video for watermarking, both are portrait. And I have done it as watermark an image at video. After watermarking, got...
(2) odpowiedzi
2017-06-16 08:06 How to judge the direction of the UIScrollView is going to scroll? »
Note:My question is the direction of the scrollView will scroll,not scrolling.That is to say,when user scroll the scrollView,can we get the direction ...
(1) odpowiedzi
2017-06-15 11:06 How to retrieve all 4 coordinates of a rotated\scaled\translated UIView? »
I find a similar question here, and when I translate my view I can solve this problem successfully, but when I rotate or scale my view, I got a incorr...
(1) odpowiedzi
2017-06-15 09:06 What does an assignment do if it is within square messaging brackets? »
In some old(ish) Objective-C code base, I accidentally misplaced the opening bracket trying to send a message to an object. // I meant to type object...
(1) odpowiedzi
2017-06-15 08:06 Xcode Unit Tests returns the NSURL of temp folder without 'private keyword' »
I am writing Unit Tests in Objective C. The following is my code: NSString *testTempDirectory = [NSString stringWithFormat:@"%@%@", NSTemporaryDir...
(1) odpowiedzi
2017-06-14 15:06 SQLite - Get records which is not start with alphabet - IOS - Objective C »
IOS - Objective C - SQLite Query. I want records from user table which is name start with a special character or digit or else (Not start with alphab...
(1) odpowiedzi
2017-06-14 11:06 Scrolling through data only in core plot iOS »
Currently I'm using core plot cocoa pod to draw a scatter graph, currently I need scrolling to be enabled but at the same time I need the x & y ax...
(1) odpowiedzi
2017-06-14 01:06 Many-to-Many Relationships in Realm using Objective-C »
I have spent hours upon hours trying to figure out how to setup the models for object relationships and create/delete many-to-many relationships in Re...
(1) odpowiedzi
2017-06-13 16:06 Core Data optimistic locking error »
I am fetching a large amount of data from a web service that delivers JSON arrays back to my app, I am using two different web services, one for each ...
(1) odpowiedzi
2017-06-13 07:06 3D Touch Peek And Pop on UITableViewCell Objective C Code. (Force Touch) »
I need to enable Peek And Pop functionality on a UITableViewCell in objective c by using force touch.And also need to show some actions under peek vie...
(1) odpowiedzi
2017-06-13 07:06 How to get shared instance of location manger in synchronize »
Hy, I want to get the background location updates, so I wrote the below code and make it synchronized to keep it safe from multithreading. So I have t...
(1) odpowiedzi
2017-06-12 16:06 Is it possible to set an alarm in a certain time (i.e at 8 am) and it will continue keep alarming for a specific time (i.e for 1 hour) »
I like to get an alarm at some specific time (for example at 8.0 am) and i like to continue it for 1 hour. so it will stop at 9.0 am. I also like it t...
(0) odpowiedzi
2017-06-12 08:06 iOS App Crashes while loading image from Assets.xcassets »
There is an image file named "5.jpg", in the Assets.xcassets named "5". I wrote code UIImage *image = [UIImage imageNamed:@"5"]; to create the image...
(3) odpowiedzi
2017-06-12 07:06 iOS:Objective -C How to change push notification sound payload when app in background mode? »
In my application i am allowing user to change a sound for push notification. When user selects Sound-A or Sound-B it plays properly when app is in a...
(3) odpowiedzi
2017-06-11 22:06 Remove outside of bezier path »
I have a function where I fill the image with a color and use a UIBezierPath to erase a point for corners. CGRect rect = CGRectMake(0.0f, 0.0f, width...
(1) odpowiedzi
2017-06-11 22:06 IOS AWSS3 SDK upload denied AWSS3BucketCannedACLPublicReadWrite (RESOLVED) »
Trying to upload image to Amazon S3 with public read permission. UPLOAD DENIED: with ACL 'PublicReadWrite' _uploadRequest.ACL = AWSS3BucketCannedAC...
(1) odpowiedzi
2017-06-11 21:06 Sharing the content on LinkedIn using Objective C »
I had integrated the latest sdks of Linkedin for sharing the contents. As it is worked before but now its gives the errors. Please find the below erro...
(2) odpowiedzi
2017-06-10 14:06 "This function declaration is not a prototype" warning in Xcode 9 »
When using Xcode 9, there are some compiler warnings saying This function declaration is not a prototype. It suggests to add void to the method body, ...
(1) odpowiedzi
2017-06-10 10:06 Firebase query does not allow order on multiple properties? »
I'm trying to fetch some data from firebase. In my object, I have Recent |_UniversitId |_objectiId1 | |_ userId:1 | |_ time...
(1) odpowiedzi
2017-06-10 01:06 Most optimal method of implementing tappable shapes? »
I'm building an app that provides an editable canvas similarly to photoshop or illustrator (currently using SpriteKit). I'm encountering some performa...
(1) odpowiedzi
2017-06-09 22:06 Why would an empty NSMutableData be optional? »
I'm converting a project from Objective-C to Swift. In it, there is a NSMutableData object that was originally instantiated like this: NSMutableData...
(2) odpowiedzi
2017-06-09 14:06 ReactiveCocoa: View doesn't update when ViewModel property changes »
I cannot understand, why my View doesn't update after ViewModel changes. I have binded my button properties in View: - (void)bindViewModel { //...
(1) odpowiedzi
2017-06-09 04:06 iOS - Load cells one by one »
I want to load the cell of a collection view one by one using the API collectionView.insertItems(at:). There are many answers online which accomplish ...
(2) odpowiedzi
2017-06-08 20:06 Objective-C multi threading - Why does my code produce a deadlock? »
I am using the following code to prevent a background task from being started twice. Why does this code block? - (void)doBackgroundTask { NSLog(@...
(0) odpowiedzi
2017-06-08 15:06 Facebook login issue over iOS-objective C »
Hi i am working over an app which requires facebook login. Facebook login was working quite well before couple of week but suddenly it stop working. E...
(0) odpowiedzi
2017-06-08 14:06 Autolayout constraint mismatch In UITableViewCell »
Create simple application for dynamic cell height. I have Custom UITableViewCell and in that I have some controls. I have fixed the constraint of all...
(2) odpowiedzi
2017-06-08 09:06 BigQuery not showing any dataset for a linked Firebase Analytics Event logs »
I linked my account to Big Query but Firebase Analytics events are not getting loaded into BigQuery automatically. "No dataset found" warning is show...
(0) odpowiedzi
2017-06-07 14:06 How to get FCMToken in Firebase on ios? »
As mentioned in Firebase documentation we can retrieve FCMToken as follows. NSString *fcmToken = [FIRMessaging messaging].FCMToken; NSLog(@"FCM regi...
(1) odpowiedzi
2017-06-07 11:06 Appending NSString with Zeros depending upon length »
I have a string, length may vary but I have to check if its length is less then 12 and if yes append those many zeros to it. Like: str = Test123, o...
(2) odpowiedzi
2017-06-07 07:06 ios - How to hidden YTPlayerView Youtube logo »
One day, the YouTube logo appears like a picture. Vanish together when disappears. Touch the image to reappear. If you touch the logo, there is a prob...
(1) odpowiedzi
2017-06-06 19:06 Can't insert attachment in iMesageExtension if an MSStickerView is instantiated »
I'm trying to send an mp4 video using an MSMessage from a MessageExtension. When using the following code : //Initializate an MSSticker NSError* er...
(0) odpowiedzi
2017-06-06 14:06 Fail to run project with Xcode 9 , Many new C++ semantic issue »
My project works fine in Xcode 8. When I build It in Xcode 9, there are many C++ semantic issues reported.It seems Xcode 9 C++ complier do much strict...
(1) odpowiedzi
2017-06-06 14:06 iOS Google Native ad not clickable »
Following is my code. When I click on the ad present on the UITableViewCell didSelectRowAtIndexPath gets called and the ad is not opening in the brows...
(0) odpowiedzi
2017-06-05 13:06 Upon screen lock video is paused if it doesn't have any volume »
In my app, audio and video play even if the screen is locked, with controls of play and pause displayed on the locked screen. However, I am surprised ...
(0) odpowiedzi