Tagged Questions
This version of iOS (formerly iPhone OS) was released by Apple on Oct 13, 2011. iOS 5 runs on iPhone 3GS, iPhone 4, iPhone 4S, iPod Touch 3rd and 4th generation, as well as all iPad models.
-2
votes
0answers
14 views
Start the application from Lock Screen In IOS? [on hold]
I am new to XCode,I have a requirement like I need to start the application from Lock Screen in IOS(Objective-c or swift).Can any one please let me know How to proceed with the Requirement?
0
votes
0answers
23 views
Google translate API extra characters introduced after translation
I have written a code to translate french characters. I am succeeded in doing translation but some extra characters are introduced after translation. This is my data array after translation.
data = ...
0
votes
0answers
73 views
+50
Getting crash when trying to add collection view on my custom view
I am getting crash when I am trying add a collection view on my custom view in ios8 while same code is working with ios7 .
UINib *customNib = [UINib nibWithNibName:@"MYVIEW" bundle:nil];
MYVIEW ...
0
votes
3answers
54 views
iOS8 view is fine but is smaller on iOS7
I am currently working on an iOS application with a Deployment Target of 7.1. Most of my testing has been performed in an iOS8 environment with no issues. I hooked up an iOS7 (5s) test device and ...
0
votes
0answers
12 views
Image positioned wrong in iOS 5 and 6 (Safari & Chrome)
My website has two centered images as it loads on a full-width and height screen that then is scrolled by the user to see the rest of the single-page site. I have the tagline and nav fading in a few ...
1
vote
0answers
13 views
IOS5 and Safari 5 for Windows AJAX POST request issue
function updateTemplate()
{
var data = $("#create_template").serialize();
$.ajax({
type: "POST",
url: "ajax/show_config.php",
async: true,
cache: true,
...
-1
votes
0answers
14 views
Preloading core data with JSON only once
I am quite new at core data and this probably has very easy solution. I have implemented a JSon parser and populated my core data entity with it. My problem is that I implemented it in App delegate ...
0
votes
1answer
24 views
Level selection logic like a angry birds in coco2d v3.x in ios
I'm working with the cocos2d 3.x and Xcode 5.1.1.My game have nine levels,i finished the game logic.i need to fix the level selection screen to my game.this level Screen first level only unlocked ...
2
votes
1answer
47 views
How to set two different splash screen in cocos2d v3.x in ios
I'm working with the cocos2d 3.x and Xcode 5.1.1.I'm having two images image1.png and image2.png.In my game i already change the default image (splash screen) to my image(image1.png).Here i need to ...
0
votes
1answer
23 views
iOS SDK 5.0 (xcode 4.x)
basic question regarding xcode 4.2 and iOS SDK5
I have an older MAC and really can't use anything higher- if I made an app for this target, will it be rejected?
Does the newer SDK 7.0 have to be the ...
0
votes
0answers
15 views
how to fix svgkit error?
I tried to copy this this tutorial http://t-machine.org/index.php/2013/01/02/svgkit-2013-recipes/ but I get this kind of weird error when the time I load my Xcode.
I put my code in viewDidLoad ...
0
votes
1answer
22 views
Integration of vine in iphone apps? [duplicate]
Hi all I am iphone developer(trainee). I would like to integrate vine in my apps for sharing video and images. I have searched in google but unable to found link which help me. Please help me
0
votes
3answers
29 views
iOS offline post a toast from background
I'm not sure if an iOS app can post a notification from the background without internet connection? (so this is not a push notification, just to post from phone)
Example: An iOS app that plays music ...
0
votes
0answers
6 views
Stopping NSRunLoop if No sources are attached
I followed the method mentioned in this blog to start a NSRunLoop that connection is scheduled on. Now the post says that I need to stop the NSRunLoop and remove the port. I remove the port when ...
0
votes
0answers
19 views
Setting image on both side of cell in tableView using UIImageView
I want to set the image on both sides of the cell.
I want to change the image when particular cell is selected.
I have written this code
- (UITableViewCell *)tableView:(UITableView *)tableView ...
0
votes
0answers
20 views
Not Work X And Y axis in UIGraphicsBeginImageContext
same image crop when change X And Y axis in UIGraphicsBeginImageContext.
first take one image after using UIGraphicsBeginImageContext through crop image into many part,
but same image crop when ...
0
votes
1answer
74 views
Tesseract improvements and image pre-processing steps
I am working on Tesseract library and below is the input for the Tesseract,
At the initial step of implementation I have used only the "MRZ" zone of the ID card.
But the actual intention is to ...
0
votes
0answers
19 views
what to send in pjsua_im_send pjsua?
I need to send void *userdata in pjsua_im_send.
Complete pjsua method is:
PJ_DECL(pj_status_t) pjsua_im_send(pjsua_acc_id acc_id,
const pj_str_t *to,
const ...
0
votes
1answer
24 views
Is it possible to change application state or delete preserved state of app after press home button
In application i want such situation like. When my application goes into background it store current state. At server side have some update and i want to start my application with those new data.
My ...
0
votes
0answers
22 views
how to add a polyline Route label with distance and duration Like a Google Map
strong text how to add a polyline Route label with distance and duration Like a Google Map. i already tried some other alternative ways, but i din`t get it where is that problem, even it is possible ...
0
votes
2answers
39 views
how to save the touched position of x and y values in a array
I'm working with the cocos2d 3.x and Xcode 5.1.1.i'm doing the game like a candy crush,here i load the sprites to 5*5 matrix,and i already get the position for the touched sprite,now i need to save ...
0
votes
1answer
39 views
How to install iOS 5 simulator with XCode 4.6.3?
I have used xcode 4.6.3 and now I want to run my application in iOS7. How can I test my application without real device. Is it possible to install iOS 7 simulator on XCode 4.6.3 ? Please help me.
0
votes
3answers
73 views
Unique ID of iPhone Which is best to keep in persistent storage?
I am new to iOS. I need to create unique id from the device to register some of my web service for unique identification. There are lots of documents floating around the net, from which i noticed ...
0
votes
1answer
31 views
Encapsulating AFRequestOperationManager with a class and make it available app wide
I am new to Obj C (rubyist here!) so I'm not sure how to go about this. So we use AFNetworking in our app which communicates to our server via a JSON API. Looking at the code right now, there is much ...
0
votes
1answer
12 views
xcode How to do the opposite of arc4random
I am trying to get a block to continuously appear in random locations along the x axis.
I have RandomBlockPosition = arc4random() %570;
However, I want to do the opposite of this. This makes the ...
0
votes
1answer
75 views
AdHoc Installation fails on older iPad running iOS 5.1.1 - /usr/libexec/installd crashes
I have an app that I am distributing using AdHoc - that works fine (using testflightapp.com) on most devices, however I have two older ones which run iOS 5.1.1 and iOS 4.3 respectively and on those I ...
0
votes
1answer
36 views
How to get UIwebView's JSContext in ios5?
As we know,Apple provide the javascriptcore.framework to work with javascript, and we can get the jscontext of uiwebview like this:
JSContext *context = [_webView ...
0
votes
0answers
14 views
CTGetSignalStrength() method for mobile network signal strength in iOS [duplicate]
In android there is getGsmSignalStrength()to get the signal strength. In iOS CTGetSignalStrength() is there to get the signal strength. But is it a public API? If not, is there any other method by ...
0
votes
0answers
54 views
NSParagraphStyleAttributeName to use for ios 5
I have this code and it is running properly on ios 6 and above.
NSMutableParagraphStyle *style = [[NSMutableParagraphStyle alloc] init];
style.alignment = NSTextAlignmentCenter;
style.lineBreakMode ...
0
votes
0answers
22 views
iOS temporary folder location issue
I am saving my iOS application data to the temporary folder location. While upgrading my application, these data are getting deleted. But I need these data to be available for the next version as ...
2
votes
1answer
78 views
openURL is not working when App is in background in iOS
I am trying to open one URL in Safari from my App when App is in background, below is my code
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:strURL]];
My App is hiting the above ...
0
votes
0answers
46 views
Apple push notifications are no longer received
We released our phonegap application about a week back and everything was tested and working fine. Fast forward a few days and suddenly people start to report that they aren't receiving any push ...
0
votes
0answers
46 views
Delayed Response when NSURLConnection is used with sendAsynchronousRequest
Correct me if I am wrong. please easy go on me. I am not expert in iOS.
I tried sending HTTP Request with two approaches.
1)
NSURLConnection *theConnection = [[NSURLConnection alloc] ...
0
votes
1answer
42 views
Locking the Viewcontroller to landscape mode, whatever the orientation of iPhone
I have one table tableviewController. On clicking one of the cell, the next viewController opens a cam and use AVCaptureVideoPreviewLayer to show video. To support orientations, I have added these ...
0
votes
1answer
26 views
Hide Row(Multiple Row) After Clicked in TableView
I Am developing one Application. This Application Contain TableView If i once click any one row that row i want to hide after some operation, Can Any one help ?
0
votes
0answers
16 views
verify error:num=20:unable to get local issuer certificate(error)
I created an AppID and SSL certificate and keys and PEM files in a local directory. Afterwards, I got to the step to test whether the certificate works, and I invoked the following command from this ...
0
votes
1answer
30 views
MapViewController displays view for current location always
I Have written the below code for example:
But i an directed to always to my current location. How can i solve this issue ?
MapViewController *mvc = [[MapViewController alloc] ...
0
votes
1answer
30 views
Specifying a Webpage Icon Name/Title for Web Clip
I am following this guide for Specifying a Webpage Icon for Web Clip
...
1
vote
1answer
72 views
save image with overlay in the camera view
I have added a overlay over the camera view using the below code,
- (IBAction)takephoto:(id)sender {
mediaPicker = [[UIImagePickerController alloc] init];
mediaPicker.delegate=self;
...
0
votes
0answers
53 views
PKRevealController with storyboard
I am using PKRevealController.With a button click I would like to access to the slide menu.I don't know how I proceed with it so I tried this code below:
- (IBAction)loginAction:(id)sender {
...
0
votes
1answer
33 views
i am having tableviewcontroller and viewcontroller with pickerview,when i am clicking the rows in tablevc the same detail viewcontroller is opening
when i navigating one row to viewcontroller which having picker view.it is navigating there i am adding sections.when i go back to tableviewcontroller and click another row it is navigating but the ...
1
vote
4answers
42 views
What is the reference count of an object in the following program?
1) Disabled ARC.
2) I have the following code:
- (IBAction)btnsecondClicked:(id)sender {
NSString *myname;
myname = retrieveName();
}
NSString * retrieveName()
{
NSString *tmpStr = ...
0
votes
3answers
52 views
Validity of the UITableView Cells in ViewWill Appear
What I have
1). Container has UITableView, which has two custom UITableViewCells.
2). Core Data has certain entity which has a text to be displayed at
UITableViewCell each time I get into the ...
0
votes
0answers
24 views
linker command failed error using xcode 5.1 [duplicate]
i am working on audio type application i was build this app in xcode 5.1 and now i am building on xcode 5.0 and i have got error beloved
ld: building for iOS Simulator, but linking against dylib ...
0
votes
2answers
59 views
Enabling Core data into existing Project does not work
I have created a Project in Xcode 5.1.1 without core data support.
Now i am trying to get the core data support.
Steps:
1) File -> New -> File -> Data Model -> Added.
It created : ...
1
vote
2answers
86 views
Enabling data Core in Xcode 5.1.1
I have already the Xcode project in xcode 5.1.1, and i am unable to add .xcdatamodel file
as descriped in the below link.
...
0
votes
0answers
36 views
Image Processing and rotation
I am working on application where I am doing some image processing. Now what my algorithm do is to read the pixels from upper left corner of smartphone or you can say when the smartphone is oriented ...
0
votes
0answers
30 views
Potential leak of an object stored into “NSMutableDictionary”?
leak of an object here in this code:
CFArrayRef allPeople = ABAddressBookCopyArrayOfAllPeople(addressBook);
CFIndex nPeople = ABAddressBookGetPersonCount(addressBook);
for (int i=0;i ...
-2
votes
2answers
33 views
Apple Push Notification Service which ios version it is supported from?
I m not sure where to find which ios Version starts supporting Apple Push Notification Service? Or it does not matter ?
0
votes
0answers
25 views
How to change the width of the custom view while changing the orientation
I have been trying to get the common header view across all tabs.
to achieve it,
i have created custom view.
1) sharedView.xib
2) sharedView.h
3) sharedview.m
In the attribute inspector of ...