Data dodania Pytanie
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
2017-06-05 08:06 How should I create model class to call API (Using MVC pattern)? »
Currently I am calling an API in viewcontroller itself but this is not good programming practice as per MVC. Here is my code: -(void)fetchData{ ...
(1) odpowiedzi
2017-06-05 08:06 Not able to perform segue »
hi the session block works fine but when I am trying to move to next Viewcontroller I get thread1:Signal SIGABRT ..Actually I am trying to get request...
(4) odpowiedzi
2017-06-04 23:06 objective c to swift conversion. (#define and weak) »
I am stuck in converting #define and weak from objective c to swift. I tried to use objective c to swift convertor, but I think the result of conversi...
(1) odpowiedzi
2017-06-04 11:06 Objective-c - get count elements of an array »
I'm an Objective-C rookie, and I want to get the elements count of an array of chars. I managed to find only this way: @autoreleasepool { char p...
(1) odpowiedzi
2017-06-04 04:06 RTCPeerConnectionFactory.peerConnectionWithConfiguration causes IOS simulator crash »
I'm experimenting with WebTRC IOS library. I've tried https://cocoapods.org/pods/webrtc-framework and https://cocoapods.org/pods/WebRTC Whenever I tr...
(1) odpowiedzi
2017-06-03 21:06 Overwriting SQLlite Database on IOS »
So, i have a database.sqlite file, i used NSlog to know where is the file located, hopefully i got the location and the question is , i want to ove...
(2) odpowiedzi
2017-06-03 08:06 didDeselectRowAtIndexPath is not called when the checkbox is checked aleady »
Im using UITableView with checkboxes. In my cellForRowAtIndexPath method, I have set selected few cells as follows, UITableViewCell *cell = [tableVi...
(2) odpowiedzi
2017-06-03 00:06 Reuse UICollectionView across multiple UICollectionViewControllers »
I have a table view where each row contains a collectionView. Each collectionView is only one row tall and scrolls horizontally. So, if you can imagin...
(2) odpowiedzi
2017-06-02 10:06 iOS Swift Realm Sync Issue »
I used this configuration code for local storage. var configuration = Realm.Configuration.defaultConfiguration configuration.encryptionKey = getKey()...
(1) odpowiedzi
2017-06-02 05:06 How to use ffmpeg on iOS? »
I have to use the following command for ffmpeg ffmpeg -i "Video.mp4" -map 0:1 "AudioWithVocalfromStreamOne.mp3" -map 0:2 "AudioWithoutVocalfromStream...
(0) odpowiedzi
2017-06-02 00:06 Why are MAC_OS_X_VERSION_MIN_REQUIRED and MAC_OS_X_VERSION_MAX_ALLOWED no longer being honored after upgrading to macOS Sierra/Xcode 8? »
My libui project must both compile on and target OS X 10.8 and newer, so I have #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_8 #define M...
(2) odpowiedzi
2017-06-01 20:06 NSPrivateQueueConcurrencyType serial or concurrent? »
As the title says, the question is, if a NSManagedObjectContext with concurrency type NSPrivateQueueConcurrencyType is serial or concurrent. More sp...
(3) odpowiedzi
2017-06-01 10:06 no visible @interface for UIImageView declares the selector sd_setShowActivityIndicatorView and sd_setIndicatorStyle is not detected »
It is very strange that sd_setImageWithURL is working but got an error in sd_setShowActivityIndicatorView:YES and sd_setIndicatorStyle. Below what I ...
(3) odpowiedzi
2017-06-01 05:06 Implement insertion-ordered dictionary in objective-c »
I want to create a dictionary, similar to NSMutableDictionary, but have it keep the insertion order of the elements. What is the most efficient way to...
(2) odpowiedzi
2017-05-31 17:05 How does the Objective-C complier behave when a Swift bridging header is imported? »
I frequently work on projects that utilize both Swift and Objective-C code. I heavily depend on Swift extensions, and it isn't unusual to see multiple...
(0) odpowiedzi
2017-05-31 14:05 Passing data from a Swift Controller to an Objective-C controller »
I'm trying to pass a simple string from a Swift Controller to an Objective-C controller, but unfortunately it doesn't work. Error I get: Value of...
(1) odpowiedzi
2017-05-31 12:05 DateFormatting resulting in null »
I have a date string from server "5/31/2017 10:05:59 AM +00:00", I am trying to convert it into NSDate, NSString *expiration = [responseObject va...
(5) odpowiedzi
2017-05-30 21:05 Spotify request web api removing unauthenticated calls »
After removing unauthenticated calls to the Web API I have problem with getting a token. I have found on developer.spotify that I need make an authori...
(1) odpowiedzi
2017-05-30 12:05 Shadow with Corner radius in cell with IBDesignables »
I have a 2 sub views in cell. One for shadow view and another for corner radius as it sounds a good approach that I found from this link. So I tried t...
(1) odpowiedzi
2017-05-30 10:05 SceneKit 3D Marker Augmented Reality iOS »
Last couple of weeks I've been working on developing a simple proof-of-concept application in which a 3D model is projected over a specific Augmented ...
(1) odpowiedzi
2017-05-29 19:05 How do I properly hide a container view? »
I have a container view on top of my view controller and when I use this code to try and hide the container view, the container view disappears BUT th...
(1) odpowiedzi
2017-05-29 19:05 Xcode iOS: "Reported test case event for non-suite test object"? »
I've inherited an Obj-C project, and started adding some tests for new code. However, when I try to run the first test I've added, I get a strange er...
(0) odpowiedzi
2017-05-29 06:05 IOS Compare 2 images that are 80% - 90% same? »
i want to compare 2 image that are 80% - 90% same means if i take two images i 1st image I'm standing in the middle of the image and in another i stan...
(0) odpowiedzi
2017-05-28 16:05 Launch arguments (NSDoubleLocalizedStrings, NSShowNonLocalizedStrings) don't work »
I'm trying to use the launch arguments such as NSDoubleLocalizedStrings and NSShowNonLocalizedStrings to test localization in my Objective-C project. ...
(1) odpowiedzi
2017-05-28 08:05 Generate Derived Key from Shared Secret (ECDH-ES) »
I have used the https://github.com/ricmoo/GMEllipticCurveCrypto to generate a Shared Secret using ECDH Algorithm. I now have to Generate a Derived Ke...
(1) odpowiedzi
2017-05-28 04:05 Cannot assign protocol-conforming Objective-C class to a property with Swift Protocol »
I'm trying to have an Objective-C class adopt a protocol written in a Swift file. I've got Swift an Objective-C inter-operating to some extent. (I ca...
(1) odpowiedzi