Tagged Questions
iOS is Apple's operating system for mobile devices, such as the iPhone, iPod touch, iPad and Apple TV (2nd generation and up). Much is shared with OS X, but iOS is optimized for touch-based interfaces.
0
votes
0answers
4 views
UIMoviePlayerControllerDidExitFullscreenNotification NSNotification not working in iOs 8
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(youTubeStarted:) name:@"UIMoviePlayerControllerDidEnterFullscreenNotification" object:nil];
[[NSNotificationCenter ...
0
votes
1answer
11 views
Working On iPhone MK Map view
I am new to iPhone application development.
So i want to ask about how can i get the coordinates of location that user will provide it using TextField.
Thanks in advance for your valued opinion.
0
votes
0answers
6 views
Your app contains non-public API usage - submit app
I am trying to submit an application to Itunes connect with XCode. I get this:
Your app contains non public API usage. Please review the errors, correct them and resubmit your application.
The app ...
0
votes
0answers
8 views
Obtain all possible cobinations from multiple NSMutableArray
I am trying to write a method which allows me to compute all the possible word combinations from all the arrays which are stored in my NSMutableDictionary. So, basically my NSMutableDictionary object ...
0
votes
1answer
14 views
Create a UIView with only one diagonal side
I need to create a UIView that has the left border inclined with 45 degrees
I was wondering,is there a way to acheive this programmatically?
Does CATransform3D help me in this case since it’s not ...
0
votes
0answers
7 views
boundingRectWithSize: doesn't respect lineBreakMode settings
I'm trying to calculate font size to fit text into 2 lines (with variable font size).
In storyboard label has fixed font size, word wrapping setting is NSLineBreakByWordWrapping.
In cases, when ...
0
votes
0answers
4 views
Convert Videos from mov to mp4 cordova ios
i would like to know, how i am able to save (or record directly) videos in .mp4 format with Cordova for iOS and Android.
I have a simple app which is able to record videos and after that it uploads ...
0
votes
1answer
20 views
How to implement custom initialiser method of uiviewController in swift
How to implement the below objective-c init method in swift
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil withName:(NSString *)name {
if (self = [self ...
0
votes
1answer
16 views
How to make moveRowAtIndexPath:toIndexPath: animation slower/faster
I want to make moveRowAtIndexPath:toIndexPath: animation slower/faster ,
is there some good way to do it ?
-1
votes
0answers
8 views
Cocapods: How to enable OS_OBJECT_USE_OBJC? (GCD queues as proper ObjC objects)
The OS_OBJECT_USE_OBJC flag denotes that GrandCentralDispath queues (and probably other OS objects?) are fully compliant Objective-C objects (so they managed by ARC, etc.)
If I do
#if ...
0
votes
0answers
13 views
Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK
Submit for Review in iTunesConnect returns:
"Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK."
The thing is that:
- My build was made ...
0
votes
0answers
8 views
Unable to draw opengl es line using lat longs
typedef struct {
float Position[2];
float Color[4];
}Vertex;
// passing latlng to the vertices to draw line on opengles.
const Vertex Vertices[] = {
...
0
votes
0answers
10 views
Swift/BLE Notifications not working
I am using the Ti sensortag to play around with bluetooth and sensors. My goal is to get the barometer and the buttons working. The buttons notify when pressed but the barometer never notifies or ...
0
votes
0answers
6 views
iOS MapKit camera resetting heading values between 6 and 354
I have an MKMapView and I am trying to rotate the map camera heading to follow the users heading. I don't want to do the auto-tracking because it forces a zoom level which is something I would like to ...
0
votes
0answers
8 views
Youtube video issue in ios 8
#define YOUTUBE_HTML @"<html><head><style type=\"text/css\">\body { background-color: transparent; color: white;}</style>\</head>\<body ...
0
votes
0answers
7 views
SpriteKit - How to create a top edge
I've created a contactable bottom edge with the following code;
bottomEdge.physicsBody = [SKPhysicsBody bodyWithEdgeFromPoint:CGPointMake(0, 1) toPoint:CGPointMake(size.width, 1)];
How would I make ...
0
votes
0answers
8 views
Can i use Polymer in native iOS WebView?
I need to use Polymer in my web based iOS app. The Cordova/Phonegap is the last solution. I readed this question: Can I use polymer/web components in a native android app w/o Cordova? Can i do this in ...
0
votes
0answers
18 views
Change the text of UINavigationController not working in Swift
I have an app which has 5 UIViewControllers and the rootViewController is attached to a UINavigationController and the others are connected by segues. Now, I want to add a title to the ...
0
votes
0answers
10 views
Swift / xcode - managing subviews within a single screen
I cannot grasp how to manage subviews within the same view so that data can be collected in a flexible data model (or collection of models, if each view must have its own model). The user should be ...
0
votes
0answers
9 views
iOS cocoa retain variable block
I need to retain a variable inside a block because i have to pass it to a method out of the block. I dont know how to achieve this.
__weak MyClass *weakSelf = self;
[myFile addObserver:self block:^
{
...
0
votes
0answers
8 views
display volume view/ MPVolumeView iphone-sdk
I have developed a video player application and I am also changing the volume of music player from my application. So I want to display default volume change view/indicator when volume is change from ...
0
votes
0answers
12 views
UIScrollView doesn't scroll on Xcode 6 (works on simulator)
I have a basic UIScrollView with a UIView inside it. I've set the contentSize of the UIScrollView to (320, 800). The same being the frame of UIView. When I run the application on the simulator, ...
0
votes
0answers
3 views
GKMatchDelegate not called on player connection
I'm using GC to connect 2 players in a realtime match. With the GKMatchMakerViewController and then pressing automatch. I'm able to successfully connect the 2 players and send data. The only problem ...
0
votes
0answers
4 views
Is it a way to fill up collectionView lines from the beginning of the line and leave space in the end?
Instead of this alignment:
x-x-x
x-x-x
I need this one:
xxx--
xxx--
Is it possible with UICollectionViewController?
-1
votes
1answer
13 views
how to get all friends in facebook using graph api v2.0 (ios)?
I'm trying to get user's list of friends by authanticate user and successfully when I use this code:
self.loginView.readPermissions = @[@"public_profile", @"user_fridends", @"email"];
...
0
votes
0answers
7 views
UITabBarItem Title Position Vertical Horizontol iOS?
My Question is Simple
I have checked many Solutions regarding UITabBarItem title Position vertical Center Like
[[UITabBarItem appearance] setTitlePositionAdjustment:UIOffsetMake(0.0, -0.2)];
and
...
0
votes
2answers
34 views
what is the significance of having a UITextView in a UIScrollview?
I have come across many sample codes where the UITextView is embedded within UIScrollView. However, UITextView itself has scrolling properties. So what additional advantage does this set-up i.e ...
-5
votes
0answers
20 views
How sell app store app (which has more than 3k paid downloads) and how estimate price? [on hold]
I did a lot of investigation related to selling app store app, but finally results were only selling the sources, etc.
So could someone help me to find out e.g. site, where I can estimate price for ...
0
votes
2answers
34 views
Show data in rows and columns in IOS
I want to show my data in rows and columns. Number of columns are constant i.e 4, but number of rows are dynamic. How can I create such a table with 4 columns and multiple rows according to the data. ...
0
votes
0answers
6 views
Default animation stopped after segue
I have a view with buttons, when user tap on them there is a Push segue from one controller to another. I discover an odd bug - after decent number of segues (or after first one) animation is stopped. ...
0
votes
0answers
20 views
Moving up an UIView when UIWebView's keyboard is shown
I am trying to move an UIView when user touch a textfield in a webview , because keyboard will cover the webview and users will not able to enter text , my codes works very fine ! on iOS 7 !!! but iOS ...
0
votes
1answer
26 views
Storing mutable dictionary in user standards IOS
Hi I am developing one IOS application in which I am trying to store mutable dictionary in NSUserDefaults. But it is giving following error :
Attempt to set a non-property-list object
I tried it ...
1
vote
0answers
23 views
Difference between implicit and explicit return from single-expression Closure in Swift
I encountered strange problem with Swift compiler.
This code failed to compile:
let str = "012345,abc,officer"
let components = split(str, { return $0 == "," })
// ^ error: 'NSString' ...
-1
votes
0answers
8 views
Can the steps from the M7 and M8 motion coprocessor be sent to an external database?
Im wondering can steps from the M7 and M8 motion coprocessor be sent to an external database to be stored. Im looking to build an app that tracks how many steps a user has taken and them send them to ...
0
votes
1answer
14 views
In Swift fileExistsAtPath(_ path: String, isDirectory isDirectory: UnsafeMutablePointer<ObjCBool>) -> Bool accepts single parameter only
The method fileExistsAtPath() in the example below accept single argument only.
if fm.fileExistsAtPath(result, isDirectory:&isDir) {
The exact error message is: "Extra argument 'isDirectory' in ...
0
votes
0answers
18 views
Music player controls in iOS 8 today widget
I'm trying to implement a sample iOS 8 today widget that includes a music player controls, the app is a basic music app with background-audio enabled.
I looked a lot around to find a way for ...
0
votes
2answers
28 views
Create a UIView to use as a subView
I have a blank!
I have a ViewController where I need to insert 3 subViews. No issue so far.
In each of those subView, I need to add a UIView with some code (to draw a chart, for example).
My problem ...
2
votes
2answers
24 views
How to implement segue on button click?
I'm building an iOS app.I have implemented Facebook and twitter integration in my app.
I am facing an problem in a viewcontroller i have button Next and implemented a push segue
on that button to go ...
0
votes
3answers
46 views
How to call and get the current device version?
I am using this code to identify the iPhone Device. Can anyone explain to me how to call and get the current device version?
How to call one of these methods?
+ ...
0
votes
0answers
13 views
custom keyboard subview remains fixed on size
I'm making a custom keyboard for iOS8. It all works, and all the buttons live in a view I made in a .xib file. In my code I grab that view and show it on my self.view, which is the keyboard area.
...
0
votes
0answers
3 views
How to find the latest receipt of in app purchase using iOS 7 style receipt
I'm trying to get the latest receipt information locally on device when user purchase an in app item. My problem is i can not figure out how to get the latest receipt (should be the one that generated ...
-4
votes
0answers
19 views
App not run on device (working well on Simulator) [on hold]
This is the error that i got:
2014-10-13 13:47:57.658 SpaceInvaders[243:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SIGameScene setDelegate:]: ...
-2
votes
1answer
23 views
Warning in IOS when keyboard appear
I have just put textfield in my controller class and select keyboard type to number pad from interface builder.
I have seen this warning in console when keyboard appears.
Can't find keyplane that ...
1
vote
0answers
22 views
\u0092 is not printed in UILabel
I have a local json file with some descriptions of an app and I have found a weird behaviour when parsing \u0092 and \u0091 characters.
When json file contains these characters, the corresponding ...
0
votes
1answer
23 views
ImagePickerController crashes on Ipad ios 8.0.2 but works fine on iphones
Pls help. Here is my code
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.modalPresentationStyle = ...
0
votes
0answers
9 views
Could you advise to discover any bluetooth device on iOS?
I try to make program to detect uncertain Bluetooth device at iOS.
The device scanning work well but it could not detect any device. However in the basic option in Ipad, the bluetooth devices were ...
0
votes
0answers
8 views
How to track Multiple Beacons UDID in iPhone
I my app, I need to pass device udid, user current location and app id to server then it will return some uuid for beacons that need to passed in CLBeaconRegion, till now everything is working fine, ...
0
votes
0answers
13 views
Add Calender View with multiple dates selection
I want to add Calendar View to the app,i have tried Tapku and kal but both of them does not provide multiple Dates selection, is there any that can provide multiple date selection calendar view like ...
0
votes
0answers
10 views
Adobe Scout empty project using Air 14 on Android and iOS, something's broken
I need some input here, check out the screen shots below. This is a totally empty FlashDevelop project.
https://dl.dropboxusercontent.com/u/414973/as_ss.jpg
The Main class extends sprite and it's ...
0
votes
1answer
21 views
Loading UIImage from Directory no longer working
For the past 5 or 6 months i have been saving images to a Photos folder in which i created within the documents directory on the users device. The photos would then be loaded into an imageView when ...