The version of iOS (formerly iPhone OS) was released by Apple on 13 Oct 2011. iOS 5 runs on iPhone 3GS, iPhone 4, iPhone 4S, iPad and iPod Touch devices 3rd and 4th generation.
0
votes
0answers
2 views
The same device with the differences AVAssetExportSession supported file types
I am using AVFoundation framework to export videos from MOV file to MP4 file. I take these test videos from the iPhone device. And there a very strange thing in that.
Here is my code:
NSURL *url = ...
0
votes
0answers
7 views
Select the newly added dynamic row in UITableView
I am working with a MasterDetail View using SplitViewController in iPad, My Master View has a tableView where I add rows dynamically. So the newly added row sits at zero postion. So what I want to ...
0
votes
1answer
8 views
Sending a mail without using MFMailComposeViewController
I'm trying to create a contact us form and the given feedback should have to send through a configured mail address.But my main concern is sending the feedback without using ...
0
votes
3answers
59 views
Unable to download data in Background after 10 minutes?
I am working with the app in which i want to download data in background. As per Apple multitasking guidelines, you are allowed to download data for 10 minutes.
In my case, it will take more than 10 ...
0
votes
2answers
36 views
pushViewController not working in iOS 5 but working fine in iOS6
I have a navigation controller that pushes a new viewcontroller. It is working fine in iOS6, but not working fine in iOS5. Btw, I am running on iPhone Simulator.
My code looks like this:
...
-1
votes
7answers
49 views
How to set RGB color from database
I'm new in iphone development.i want to set uilabel's background color from the database..i already stored RGB color into the database.but i'm not getting the background color.
const char *dbpath = ...
0
votes
1answer
36 views
UIWebView - Read content from file and delete the file
I have downloaded some content and store it in a file. While it was writing in the file, I will encrypt the file content. Now I have to show the decrypted file content in UIWebView. So , What I have ...
1
vote
1answer
33 views
How can I make iOS use the right navigation transition?
I've got an app with a totally standard UINavigationController using the default transition that slides the new view controller in from right to left. When I hit the Back button, it slides the ...
0
votes
1answer
15 views
Get a pointer to controller on stack
I have a left view controller (sliding menu controller) in use for example called LeftMenuTableViewController.
When a user logs out a modal view controller is displayed but the tableview controller ...
1
vote
1answer
20 views
Updating cells with UIImageView to show currently selected item
I am using a sliding view controller which holds the main controller on top and a slide left menu controller.
The controller on the left works as the menu like Facebook/Pintrest apps etc. It is a ...
0
votes
2answers
12 views
how to disable UIMenuControll (cut,copy,paste,select all,delete) in UIviewController subclass?
i have implemented many methods but paste doesn't hide. i am using Xcode Version 4.5.2
-(BOOL)canPerformAction:(SEL)action withSender:(id)sender {
UIMenuController *menuController = ...
0
votes
0answers
24 views
UIRefreshControl with a UITableView (not a UITableViewController) very difficult to refresh
if i add a UIRefreshControl inside a TableView (not a TableViewController), a little smaller, i can't get the refresh activated cause the table hasnt the height that expected, is there any way to ...
0
votes
1answer
61 views
How to reloadCells correctly
I have a navigation menu in a UITableView.
My cells are loaded with the following:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
...
0
votes
3answers
90 views
UITableView not reversing
I'm working on information retrieval where in the latest information in on top of UITableView. The code goes like this.
-(UITableViewCell*)tableView:(UITableView *)tableView ...
0
votes
2answers
34 views
UIView Rotation Magically Happening
I was given a project that was started by someone else who no longer works here.
I have a UITabBarController which holds some UIViewControllers.
If the application is running on iOS 6, everything runs ...
0
votes
0answers
7 views
iPod Touch iOS 5 Animation Stuttering
I have a UIView that acts as a badge in my app, upon pressing a button, the badge is supposed to blink into existence and then do a nice squash and stretch animation. The animation works perfectly on ...
0
votes
0answers
17 views
Support landscape orientation to a circle of UIVIEWS:
Trying to support Landscape orientation, following is the drawing code. NOTE: aCell is object of UIControl class:-
- (void)layoutCells
{
for ( UIView *aCell in _cells ){
if ( [aCell superview] ...
0
votes
0answers
13 views
Recieving push-notification with iOS-Phonegap
I'm trying to send a push-notification with a php-file, to my phonegap-app on my iPhone.
<?php
$streamContext = stream_context_create();
stream_context_set_option($streamContext, 'ssl', ...
0
votes
0answers
46 views
How to rotate uiimage without stretchable in objective C [duplicate]
How to Rotate UIImage in objective C without stretchable and how to draw border for uiimage not uiimageview
0
votes
2answers
26 views
ios : tableview not appearing in subview of a scrollview
I have a scrollview with multiple views.Enabled horizontal scrolling.Each view contains a tableview.I have page control in scrollview. when i drag horizontally, the views are appearing without ...
0
votes
1answer
25 views
How do i get the facebook username of a given PFUser?
PFUser *aUser = [PFUser currentUser]; //may not be the current user NSLog("username %@", [aUser username]); //This is ok if its not a FB user. otherwhise it gives me a token. I know there is a [PFUser ...
0
votes
1answer
28 views
how to reset the view position to origin after scale
There's two views in my app, viewA(green) and subviewB(red). The initial state of my app is as following:
I use the following code to change the transform of viewA:
CGFloat scale = 0.4;
...
-1
votes
2answers
26 views
iOS - Payment solution for booking and payment through credit card
I am working with an application which is basically based on booking of some services, in which the customer can pay via his card while booking for the particular service (say hire a car), how to ...
0
votes
0answers
21 views
How To Play Remote Video(mp4) file with AVPlayer
I have been working for a long time to play .mp4 file which is located Remote location using AVPlayer. The Player is playing the audio track of the mp4 file but not the video.
i am using the ...
0
votes
1answer
20 views
Setting up a menu in UITableView showing the current item
I am using a slide in menu style which loads a UITableView. - ECSlidingViewController
I have about 7 cells in a table view setup as follows:
static NSString *CellIdentifier = @"Cell";
...
0
votes
2answers
22 views
Loading specific scene in Navigation View Controller
I created a Navigation View Controller. The static table view cell pushes me to a "Personalization" view. So, how can I programmatically load this view from another in this controller hierarchy?
...
0
votes
1answer
15 views
iPhone 3GS iOS 5 support (nibs to storyboards)
I have an iOS project that supports iPhone 3GS and on and requires iOS 5 or later.
This project is using nibs instead of storyboards and is using ivars and properties the "old" way (i.e declaring ...
0
votes
1answer
12 views
Remove file - Read only file from device
I create a file with attribute NSFileappendonly, i am thinking this is enough to create readonly file in ios.My problem is try to remove the file from device it returns error.Please anyone help me..
-1
votes
2answers
27 views
Don't find my database resource
I have a database in my project called mydb.sqlite and I used:
databasePath = [[NSBundle mainBundle] pathForResource:@"mydb" ofType:@"sqlite"];
to get the path and ir returns databasePath --> ...
0
votes
3answers
66 views
How to fetch details from NSData
I want to fetch specified data html_instructions from the below URL. I could take all data from this URL.
But I need the specific html_instructions only. How can I split the data?
I used the ...
3
votes
0answers
16 views
contact list from yahoo,hotmail,gmail and Facebook in iOS
I am creating an iOS application.I have to implement a mail sending option as "Tell a friend" inside the application.For that I have to get the contacts list from the user's gmail,yahoo,man,Facebook ...
0
votes
0answers
23 views
ASIHTTP with SSL failed on iOS 5.x but not in iOS 6
I got an app running ASIHTTPRequest library to receive internet data. I call to an URL with SSL using this code:
NSURL *url = [[NSURL alloc]initWithString:@"https://my.web.com"];
ASIFormDataRequest ...
0
votes
1answer
69 views
Getting bad access while deleting cell and reloading table view
I am trying to build a table using custom UITableViewCell, but after deleting cell and when I try load the view, I get an EXC_BAD_ACCESS error,here i'm getting data from a dictionary and loading it ...
0
votes
1answer
35 views
NSInternalInconsistencyException - on AppDelegate
My application is crashing with a very weird error message.
The error message is
*** Assertion failure in -[UIStoryboard nibForViewControllerWithIdentifier:], ...
0
votes
1answer
12 views
Configuring Xcode for iOS5 when latest is iOS6
I've released an app for iOS6 (deployment target: 6.1, SDK 6.1) but now wish to make the app for iOS5 because I realize how many users still have iOS5 to keep the old native Google Maps. I understand ...
0
votes
2answers
39 views
Memory management with GCD, NSMutableArray and UITableView [closed]
I'm now been stuck with this error "EXC_BAD_ACCESS" for hours and I can't seem to find what's wrong. Hopefully some of you will find it.
I'm downloadning a file containing json-data, save it as a ...
1
vote
1answer
53 views
How to rotate cocos2D game into landscape mode in iOS 6?
I have an iPhone 4S (running iOS 5.1) & an iPhone 5 (running iOS 6.1). I noticed that when i try to open the cocos2D game, on the iPhone 4S running 5.1, the game is able to open perfectly fine in ...
0
votes
1answer
43 views
Saving Annotations and Pdf to a new Pdf file in IOS 5
I'm working on a pdf annotations application and i need to save the annotation so when i tried to save the annotations and the pdf content to a new pdf , the annotations are saved but the content of ...
1
vote
0answers
64 views
Memory leak in [[NSMutableArray alloc] init] even though with ARC
I am working heavily on Memory Fineturning and most of the problems are solved with the help of stackoverflow. But finally I got struck with a serious memory leak with NSMutableArray initialization.
...
0
votes
3answers
60 views
Keep object reference of local variable in ARC
I have created a class under ARC with some methods that accepts blocks. The problem is app keep crashing, and I think the reason of crash is the object is getting released by ARC. My question is, how ...
-2
votes
0answers
17 views
pray Times and notification [closed]
I want to develop app for ramadan's month which includes time of pray using time location for each country, and need to display alert in every day for the dua'a what is the idea for doing this?
thanks ...
1
vote
1answer
49 views
+50
How to subclass UINavigationBar correctly also using appearance
This is what I am trying to achieve:
NB: Also with a title to the controller.
Some additional information:-
This navigation bar will appear on around 10 view controllers.
It is not part of a ...
2
votes
1answer
36 views
django csrf for api that works with ios apps
I am building an ios app that communicates with the server for getting the data.
If its just a normal app, I can send csrf token via forms (since all from same domain). But, for ios apps, I dont ...
2
votes
2answers
48 views
IOS app with data stored in server - how to implement facebook user registration (from server or app?)
I am building an IOS app, which doesnt have any data with it. When it wants to show friends list for example, it will request server for the json data etc..
So, how can I implement facebook ...
-1
votes
0answers
10 views
iOS UIImageView or Three20 any Option Show Image and vedio file both
Can you please help me ? How to show Both file in iOS UIImageView or Three20 framwork using show both vedio or image file show. is there any other option?
0
votes
1answer
26 views
Handling rotation of subclassed UINavigationBar with buttons
I have subclassed UINavigationBar to have a custom navigation bar within my application. The bar is re-used on multiple view controllers with the same style Menu button as the left button item, which ...
0
votes
0answers
37 views
Some nib objects are not init in iOS6
So I've been having problems with this for a while and not really noticing it I think. However I tried to do something basic this morning and I can't see why it's doing this, so I though I'd ask about ...
0
votes
1answer
40 views
get notification on timezone change in iOS
can my application get any notification when device timezone changed? I want to get a notification when my application is foreground. NSTimezone does not worked for me as i have to continuously check ...
0
votes
0answers
30 views
Memory Leak.. ABContactsHelper
The instruments shows following memory leak & I cannot figure out how to solve it.
Any ideas ?? I am using ARC base target 5.0 with -fno-objc-arc flags for this library.
0
votes
0answers
5 views
To distribute an iOS application in a no of devices
I have developed an application using Objective C with Xcode 4.3.2 as front end and SUP 2.1.3 as middleware.I have a distribution profile with me and I have successfully run my application in an iPad.
...