Data dodania Pytanie
2017-03-06 15:03 Detect last cell on each section in tableView »
i need your help to find best solution to solve my problem. I have dynamic data(JSON parse) with TableView. My tableView consist of some sections(also...
(1) odpowiedzi
2017-03-06 10:03 set today's date in UIDatePicker not device date »
While showing date picker I'm using this code to show today's date [_datePicker setDate:[NSDate date]]; If I change the device date to some other d...
(3) odpowiedzi
2017-03-06 07:03 didActivateAudioSession is very rarely not called »
I am working on a CallKit enabled VOIP application and sometimes our clients are facing a problem that the didActivateAudioSession callback is never c...
(1) odpowiedzi
2017-03-05 14:03 Pushkit with Sinch VOIP not working with pushkit »
I am a beginner with iOS development and I am trying to implement App-to-App calling with Sinch in my IOS app. I have implemented Pushkit in my iOS ap...
(0) odpowiedzi
2017-03-05 11:03 What specifies placeholder alignment of the UITextField? »
I have an App in two languages Arabic and English, When flipping the UI using: UIView.appearance().semanticContentAttribute = .forceRightToLeft //An...
(1) odpowiedzi
2017-03-05 08:03 Unable to access iPhone Gallery in iOS 10 »
I am trying to access photos gallery in ios 10. But my application got crash every time. I have added required privacy permission in info.plist Please...
(2) odpowiedzi
2017-03-04 11:03 Spotlight IOS linked to API »
I'm developping a mobile application for ios device and i have an issue! My app contain a search system and i want to expose my system into spotlight...
(2) odpowiedzi
2017-03-04 07:03 How plot new marker (with already plotted markers) on GMS map and set selected? »
I'm using Google Maps iOS SDK and placed multiple markers with the marker info window opens when marker click. Now i want to add new marker which is n...
(1) odpowiedzi
2017-03-04 06:03 Converting Obj-C init override function into Swift 3 »
How can I rewrite the initWithDevice: function in MyViewControllerB into Swift 3? MyViewControllerA @interface MyViewControllerA : UIViewController ...
(1) odpowiedzi
2017-03-03 13:03 iOS PHAssetCollection localizedTitle always returning english name »
I'm using Apples Photos Framework to load PHAssetCollections into my app. I Always get the english name of the smart collections. For instance I get '...
(3) odpowiedzi
2017-03-03 12:03 Special - Chinese characters in string »
I am doing language translation in code. self.title.text = [NSString stringWithFormat:NSLocalizedString(@"Q%ld", nil), (long)quizNumber]; I have ad...
(1) odpowiedzi
2017-03-03 05:03 How to write swift 3 method with throws statement and return value that can be used in Objective C? »
Below Swift 3 method is translated into Objective C like: func doSomething(param: String) throws // Swift 3 - (BOOL)doSomething:(NSString * _Nonnull...
(2) odpowiedzi
2017-03-02 12:03 Application rejected with the reason of lack of IPv6 support »
My last release of application which is 12.8 is rejected by apple saying i have to add the IPv6 support to the app, i read and reviewed the recommend...
(2) odpowiedzi
2017-03-02 12:03 Use __attribute__((objc_requires_super)) with protocol »
I have something like this: @protocol MyProtocol <NSObject> - (void)oneMethod; @end . @interface BaseClassWithProtocol : NSObject <MyPr...
(2) odpowiedzi
2017-03-02 00:03 Swift 3 - Working with UnsafePointer<CFDictionary>? »
I'm currently reading Chris Adamson's "Learning Core Audio" and try to follow along in Swift 3 (instead of Objective-C). The first code example make...
(1) odpowiedzi
2017-03-01 21:03 Objective C class cannot find definition for Swift protocol »
I have a Swift protocol, like so: @objc protocol Linkable { func presentLink(link: MyLink) } I also have an Objective-C class that isn't playin...
(0) odpowiedzi
2017-03-01 14:03 Auto lock does not function when app left open - iOS »
I'm developing a messaging app and auto lock doesn't function when app left open. (No single line is related to auto lock in code) I've used this li...
(1) odpowiedzi
2017-03-01 10:03 iOS objective c How to load next coming video while playing current video without delay »
In my application ai have loaded all video url's to AVPlayer and it has previous and next buttons here i have setup player -(void)setUpMyNewPlay...
(2) odpowiedzi
2017-02-28 23:02 OpenCV detect blobs on the image »
I need to find (and draw rect around)/get max and min radius blobs on the image. that looks like this the problem is to find correct filters for the...
(0) odpowiedzi
2017-02-28 14:02 How to correctly linearize depth in OpenGL ES in iOS? »
I'm trying to render a forrest scene for an iOS App with OpenGL. To make it a little bit nicer, I'd like to implement a depth effect into the scene. H...
(1) odpowiedzi
2017-02-28 14:02 Retaining parameter types when using Objective-C block in Swift »
I have just started implementing some of our new features in Swift rather than Objective-c, all ok so far but the one thing thats confusing me is how ...
(1) odpowiedzi
2017-02-27 21:02 How to simply test a local Wifi Connection to an IP, for example 192.168.0.100 with code status? »
Do you know if I can simply test if there is a WIFI local connection ? For example if the url 192.168.0.100 is reachable. I tried with the Reachabilit...
(2) odpowiedzi
2017-02-27 17:02 Unable to read Images from xcode project in iPad IOS 10.2.1 64bit when download app from app store (testflight) »
Unable to read Images from xcode project for example. drag and drop one image to xcode project, then read using following code. __weak NSString *strT...
(1) odpowiedzi
2017-02-27 03:02 Get the position of a row from within the visible tableView not the whole tableView »
Simply put- I have an NSTableView with a lot of rows. Only about 20 are visible with the rest only visible with scrolling. I know how to get the r...
(1) odpowiedzi
2017-02-26 22:02 How should this be translate from Objective C to swift 3 correctly »
First off I'm very new to any programing language. So be gentle. I am trying to translate this code in objective C to swift 3 NSArray *points = @[[N...
(1) odpowiedzi
2017-02-26 17:02 Objective-C Associated Objects vs NSMapTable »
I recently discovered NSMapTable (doc, nshipster) and I have been wondering whether it can be used in place of associated objects. Here's an example ...
(1) odpowiedzi
2017-02-26 14:02 How to add KVO to synchronized class? »
In my app I have the Restaurant class that you can see below. I'd like to attach a KVOController to it. But I'm having no luck. When I attach it with ...
(1) odpowiedzi
2017-02-25 11:02 Google maps polyline not rendering perfectly »
I am drawing polyline using latest google maps API for iOS. I am constructing polyline point by point but it is not rendering properly as when i zoom ...
(1) odpowiedzi
2017-02-25 10:02 Set position of the header at the beginning of the TableView »
I have to set my headerView at the beginning of the table View. It seems to be fixed please help. - (UIView *)tableView:(UITableView *)tableView ...
(2) odpowiedzi
2017-02-25 09:02 Local Notification gets fired even when remove app from simulator »
i am implementing UserNotification in an app, Now the thing is that once i set a notification with repeat of every minute, it works fine. Once i remov...
(1) odpowiedzi
2017-02-24 22:02 Global vs Static variables in Objective-C »
I understand that the keyword static can be used to limit scope. However, say I have two versions of the same class: // MyClass.m // Version 1 stati...
(0) odpowiedzi
2017-02-24 08:02 Where is UIView convenient initializer »
I am new to ios development. In Xcode, I can find UIView has two initializer. @available(iOS 2.0, *) open class UIView : UIResponder, NSCoding, UI...
(2) odpowiedzi
2017-02-24 00:02 Are uikit methods guaranteed to be run on main thread? »
Anything UI related work needs to be run on main thread for iOS. Sometimes we need to do some async job like downloading a image and we probably would...
(2) odpowiedzi
2017-02-23 18:02 Download large number PHAssets from iCloud »
I am working on an app that backs up a user's photo library to a flash drive. The issue I am running into is with photos that are stored in iCloud. ...
(0) odpowiedzi
2017-02-23 10:02 iOS - [CLPlacemark timeZone]: unrecognized selector iOS 8 »
I'm using this method in order to get the timeZone from lat/long. -(void)getTimeZoneFromLatLong { CLLocation *location = [[CLLocation alloc] init...
(1) odpowiedzi