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) devices. It shares a lot with Mac OS X, but is optimized for touch-based interfaces.
0
votes
1answer
10 views
Why we need property outlet ios?
Normally I'm use 'property' outlets and variables only if it's access by another class. Otherwise it's declare within interface block. But I saw some are create 'property' outlet and variables but ...
0
votes
0answers
5 views
PhoneGap Notification.Alert not working
Okay I've been working on this issue for a while now and can't figure this thing out. Simple PhoneGap test app, trying to show an alert.
Using Cordova 2.9.0 for iOS. I've added some simple test code ...
2
votes
2answers
23 views
Submitting an update to the App Store from a different project?
I have an app in the app store, and I want to release a major update to it. However, I want to re write the application from scratch and then submit it. Am I allowed to create a new Xcode project for ...
0
votes
9answers
32 views
ios - adding text fields to uitableviewcell programmatically not working
Rookie ios question. I am trying to create a sign up form using a table view controller. I am trying add textfields to each cell programmatically in the cellForRowAtIndexPath method but all my text ...
0
votes
2answers
28 views
How to insert image into uitextview in iphone
i need to have image and textview parallel in a view which are editable..can any one suggest me how to work on this...i tried this with webview but i am unable to edit the content
it should resemble ...
0
votes
0answers
7 views
CoreBluetooth[WARNING] Unknown error: 241
I am working with core bluetooth. I am doing simple write operation . And at peripheral side getting that value into the :
- (void)peripheralManager:(CBPeripheralManager *)peripheral ...
0
votes
0answers
17 views
Play recorded video in iphone
I used following code for stream recording.A file appears i directory.
Save the The Stream From URL
But when i play the video using this code.It gives error Terminating app due to uncaught exception ...
0
votes
1answer
10 views
websockets and real time updates in iOS
I'm learning express.js and socket.io for making real-time web applications. From what I can gather, socket.io (and websockets) are available in the browser. So it can listen for events emitted by the ...
0
votes
1answer
9 views
displayOrder not found on object of type 'NSManagedObject'
For some weird reason, I am having difficulties trying to access .displayOrder from a CoreData object. When I NSLog the object out, all the info including order data shows up, so I am pretty sure the ...
0
votes
0answers
11 views
How to notify app that user has changed in facebook app/ Safari IOS
Using Facebook SDK 3.5.1 in my app, my requirement is that i have logged in the app via facebook with one user (say user A) and now if i login with other user (say user B) in mobile safari/facebook ...
0
votes
0answers
24 views
Memory Leak when create a UIImage
I have following method to take a pdf file in documents directory and create a thumbnail out of it. This method is leaking memory in two places as shown in comments. Since I am using ARC I am not sure ...
0
votes
3answers
39 views
UIView won't recognize a subview
I need to create a UIView with a UILabel subview programmatically because it works better than IB for animations. I cannot get the UIView to recognize the UILabel though. Here is my code from ...
0
votes
0answers
18 views
Could not open workspace file of Xcode
When I am open my project in Xcode. it's not open.
Display following alert.
I also delete the project.xcworkspace file and create new scheme for this project. so that it can be open.
but when I am ...
0
votes
0answers
15 views
AppLuanches with flip Screen
I have app in which there is LoginView i am doing like this if user enter first time in app it will show him login screen it work fine but probelm is that when login screen commes before that with a ...
0
votes
2answers
10 views
iOS:Send multiple images to FTP Server
im using SCRFTPRequest for send image files to a FTP Server and its working now. but how if i want to try to send multiple images?
This is the method that i used:
NSString *ftpUrl=@"ftp://localhost";
...
1
vote
0answers
8 views
SpeakHere voice recorder fails after AVAudioPlayer in iOS
I am using Apple's SpeakHere example in my project. I can record voice and play without problems..
The problem occurs when I change the view controller where I am using AVAudioPlayer to play ...
0
votes
0answers
9 views
Simultaneously recoding video and playing audio file
I am developing an iPhone app in which there is requirement of recording a video from iPhone front camera and simultaneously playing an audio file in between. I used AVCamCaptureManager for recording ...
0
votes
1answer
15 views
Creating NSPredicate based on SQL IN() function for Core Data
I have a scenario where I must fetch multiple records from Core Data based on multiple values of a given column. A common SQL query for this purpose would be
SELECT * FROM suppliers WHERE ...
0
votes
4answers
53 views
iOS replaceObjectAtIndex Error
I am new to iOS developement, I encounter error when replaceObjectAtIndex. Any wrong with my codes? Please help.Thanks.
self.myArray =array;
for (NSDictionary *data in array) {
NSString *fbid = [data ...
0
votes
2answers
17 views
How to center a UIButton that is a header to a section in a UITableView?
I have a UITableView with 5 different sections. For one of those sections I have added a UIButton by doing:
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
{
...
0
votes
0answers
8 views
Synchronization via Icloud between 2 devices IOS
I have a problem. I need to make the synchronization between the two devices
At first I was trying to set up synchronization through СoreData. But it's not a very good work. Adding new entities ...
1
vote
2answers
36 views
Interview: How to find and NSLog duplicates in NSArray?
Say you have an NSArray with duplicates @[1,2,3,1,1,2,4,5,6];
Find all the duplicates, can be in pseudocode. This is more of a algorithm question then a foundation framework (without the use of ...
0
votes
2answers
20 views
How to add a .sql file to sqlite db in Xcode
I am writing a offline iPhone app in which I need to read and display from a database which consists of a few number of tables. The tables have over 100k entries in it, so it is almost impossible to ...
0
votes
3answers
16 views
NSAttributeString Wrapping issue
I am trying to set attribute text to a label. The attributes seems to be a working the font as well as the color.
Only issue I am facing is the wrapping of lines. The Size of the UILabel is (200,300) ...
0
votes
1answer
30 views
Weird sizing issue with UIPickerView
I am experiencing some strange behavior with a UIPickerView that I animate on to the screen. Interface Builder tells me the size of a UIPickerView is 216.0, but when I animate the view on to the ...
0
votes
1answer
23 views
Can't seem to git rid of line in UIBezierPath
OK, so I needed a rounded triangle. So what I did was use a technique similar to what I've used in other vector drawing programs. Draw the triangle and use the stroke to create the rounded corners. ...
0
votes
1answer
19 views
Low memory waning while taking screenshot of a view in iPhone
I am having an app in which I am taking a screenshot of a view and saving that image on documents folder.
I am using the following code.
CGSize size = self.view.bounds.size;
CGRect cropRect;
...
0
votes
0answers
6 views
Get CGPoint of didSelectItemAtIndex in AQGridView
i use AQGridView and want to show popup/popover when user click on the cell. but how to get the CGPoint of the cell that user clicked?
- (void) gridView:(AQGridView *)aGridView ...
0
votes
1answer
19 views
simulator not showing after successfull build in xcode 4.6.1
I have updated my Xcode to 4.6.1 OS X 10.8.4.But when I am running any downloaded projects or creating my own,the build is happening successfully but the simulator is not showing,but in the schemes I ...
0
votes
0answers
17 views
How can i put my application button in iphone notification center?
I want to put a Button in notification bar like Twitter button. How can i do this. Is there any way?
Thanks
-1
votes
1answer
20 views
Changing the button color of a navigation bar
Is it possible to change the button color without an image in the navigation bar of iOS 6?
I see on other stackoverflow posts that in iOS 5 you needed an image. Is that still true?
0
votes
0answers
14 views
IOS standalone web apps network loading issue
I've build an web apps in IOS. The web apps is working well at the beginning, but after sometimes, i found the IOS network indicator is not remove even after the page is fully loaded. I checked apache ...
0
votes
1answer
43 views
UiTableViewController delegate methods not called in UITableViewController subclass
Why isn't the numberOfSectionsInTableView method not being called? It's called if I add [self.tableView reloadData] in viewDidLoad, but even then, cellForRow does not get called.
Edit: I updated the ...
0
votes
0answers
6 views
Trouble Adding GPUImageChromaKeyFilter into GPUImage Filter Chain
I'm playing with Brad Larson's GPUImage framework, and am having trouble when I attempt to add the ChromaKeyFilter to a filter chain...
I've been able to get three filters working in a chain, as seen ...
1
vote
2answers
27 views
ReloadData for UITableView not working; tableView returns NULL when logged
I am calling a method in my TableViewController class from another class.
To call the method of displaying the tableview, I do this:
TableViewController *tableVC = [[TableViewController ...
0
votes
0answers
18 views
What is this button artefact when UIButton is selected?
I'm trying to make a UI Button a toggle button by using this code:
- (void)tapButton:(id)sender{
UIButton *button = sender;
if (!button.selected){
[self ...
0
votes
0answers
7 views
Illegal Instruction: 4 for iOS
I have currently updated an app and pushed to App Store. After the approval process, it can be downloaded from AppStore.
The issue is, "some" of the users report that they cannot switch on the app, ...
0
votes
0answers
19 views
Crash when process pixel after crop an image
After using this function to crop image:
CGImageRef imageRef = CGImageCreateWithImageInRect([self.imageInput CGImage], rect);
UIImage *result = [UIImage imageWithCGImage:imageRef];
...
0
votes
0answers
10 views
Number of line in CATextlayer?
I have a dynamic string with dynamic length. I use CATextlayer to draw it in a view. I set wrapped = YES, but I don't know how to check the number of line of CATextlayer in a view to set dynamic frame ...
0
votes
0answers
19 views
Set string for empty tag in NSXMLParse iOS
I want to set string "EMPTY"for empty tag XML in NSXMLParse. Exm: my xml:
<STATE>0</STATE>
<MEMO/>
In above XML, MEMO tag is empty. I want to when NSXMLParse parse into tag, if ...
0
votes
1answer
14 views
How to set an UIImageView's image property from initWithCode for a custom Cell?
How can I do this?
It works perfectly, if I set it like this:
if(indexPath.row == lastSelectedCell) {
// last cell
TWMainViewExpandedCell *cell = (TWMainViewExpandedCell *)[tableView ...
0
votes
1answer
29 views
Why method executes slow?
There is a JSON file on server, which contain four "key/value" pairs about version of data in app (it is a cook book, so the version is a version of recipes)
When application starts, it download JSON ...
0
votes
2answers
23 views
Passing class Object refrence to another class then trying to use it is not working
I am trying to pass a reference of my current NSObject Class through two other object classes so I can access the current initialization of the original NSObject class I called from.
I will try to ...
0
votes
0answers
15 views
Setting restrictions on iPhone programatically
Obviously in an Enterprise setting, companies would want to impose some form of restrictions on mobile device like the iPhone in a BYOD situation. I know there are Mobile Device Management solutions ...
0
votes
1answer
22 views
Complex resize of Cells in UITableViewCell
I'm coding a universal iOS app (iPhone & iPad) that's mostly based on a TableView. Every cell has multiple text zones that I need to resize in height depending on the content. I define all the ...
1
vote
1answer
20 views
Proper sizes for Background Image/NagivationBar Image iOS
I'm wondering what the correct sizes are for
1) setting a background image for a UIView on various iPhone devices, including Retina, 4s, 4, etc..
(does the version of iOS matter?)
2) setting a ...
0
votes
0answers
9 views
How to incorporate anonymous messaging within the application - iOS
I am a novice programmer and I am building a native iOS app that is based on an anonymous bulletin board of messages that all users can access. How would I incorporate a feature that enables a user to ...
0
votes
1answer
23 views
How to create a dropdown tableview like Vine App
I'm wondering how one would go about programming the kind of dropdown tableview that the Vine app uses. If you have never used Vine, I've provided a picture below which depicts the UI Design I'm ...
1
vote
3answers
24 views
How to set delegate of viewControllers in TabbarController?
I have tabbarcontroller with two tabs, first tab I have a viewController , second tab I have navigationViewController with two stack of tableViewController.
Tab1--->VC1
...
0
votes
0answers
14 views
Is it possible control TI BLE (bluetooth low energy) press key by iPhone?
I already search the answer to do this several days, and I try many ways but no use.
I have a project to control the key/switch on/off in TI cc2540, but I couldn't find the way to do that.
I make a ...