Search results for

file uri scheme

78,567 results found

Post

Replies

Boosts

Views

Activity

Reply to 60 MB limit for executable
These are still valid limits. I think with the release of iOS 9 you will be allowed to submit apps with only 64bit support. Maybe that helps you to reduce the file size.Generally you may want to take a look at App Thining/On Demand Ressorces in iOS 9 (see the App Thinning in Xcode and Introducing On Demand Resources sessions from WWDC this year).
Jun ’15
Scheduled, background process
On WatchOS, there is a notification that seems to go off about ten minutes until the hour that reminds you to stand up and move around some. I know we can schedule local notifications, but when the notification is triggered how is Apple checking if they actually need to present the notification or not? For example, if I have stood in the past hour and moved around, there's no need to show me the notification at 10 minutes until the hour.My app runs on iOS. Reaching a goal is dependent on a user's last known action and the time elapsed since that last action. Currently, the user can launch my app and logic will be run to let them know their progress in reaching their goal. What I would like is the ability to run this logic in the background while the app is backgrounded (or even if it is killed). The end result for the user would be their iPhone is in their pocket and my app notifies them when the goal has been reached.There is not a server component to my app. I am aware of things like region monitoring, moni
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
817
Jun ’15
Code coverage creating Framework
Hi everyone,I'm having a doubt or an issue creating a simple CocoaTouch Framwork and measuring the code coverage.For test only purposes I just created one struct and one unit testing file. Before testing, in the scheme's Test phase I've already checked the Gather Coverage Data checkbox. All tests succeed but the code coverage for the Framework still 0% within the Report Navigator > Coverage tab. I just can get some coverage checking the Show Test Bundles option.Am I missing something? Do I have to include some code that uses the Framework to check the coverage?
3
0
1.6k
Jun ’15
Text issue with UIDatePicker and UITextField
Hey everyone!I'm having a bit of an issue with an application I'm currently trying to build. The issue occurs when I get to a tutorial section within my applicaiton. The way I have this area setup, is with a Page View Controller and a main view (UIViewController) to maintain all of the logic behind the PageViewController and finally a content view (UIViewController) to hold all of the content for each page.On the first page of my application, I ask for two dates within two different text fields. These dates are put in using the UIDatePicker. The issue arrises when the second text field is selected. For whatever reason, the text in the second UITextField is larger and bolder than in the previous one. I have checked the settings of the TextFields and they are identical. To make things even weirder, it doesn't matter which text filed I choose first, it will always have normal text while the other will have the oddly formatted text.What can I do to solve this issue?Thanks!🙂P.S. The code for how the date
1
0
507
Jun ’15
OSX loading of a Nib in Swift
I'm stuck trying to design an application, where I need to reuse various items. Exactly for this purpose I have designed an xib. I followed tons of tutorials, but with none of them I was able to load this Nib in a custom view.Is there anyone who is able to create a minimum example with Swift 1.2 where there is an xib file with a simple label, which should be loaded into a custom view? Please note that I'm not looking for something for iOS, but for OSX.(I need to use Cocoa)Thanks in advance,Misha
1
0
1.3k
Jun ’15
Can't get folder monitoring working with GCD and dispatch_source_create
I'm trying to monitor my iTunes file sharing folder for changes. I've seen several posts over the years describing how to best do this (it's unfathomable that Apple STILL doesn't provide an easy way to do this). This solution seems to be the most currently-accepted way, using GCD. Except that it doesn't seem to work. I have this code in my app delegate's application:didFinishLaunchingWithOptions function, but when I add a file via iTunes file sharing, the event handler doesn't get called. I'm definitely getting the proper folder path for the directory. The file descriptor I get from calling open() is 5, which seems curious, but at least it's not -1, which is the value it would be if it couldn't find the path and open the location. Any ideas? Btw, this new forum setup so far seems awful.NSArray* docDirPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString* fileSharingDirNS = [docDirPaths objectAtIndex:0]; uintptr_t fileDescriptor =
2
0
1.8k
Jun ’15
Reply to Creating an IBOutlet or IBAction from a UIButton within a UITableViewCell subclass in a static UITableView
I found a workaround:Instead of control+dragging from the storyboard to the Swift file, I did the following.Declare an @IBOutlet property in the appropriate Swift fileDrag from the circle plus icon that appears in the gutter to the left of that property to the view on the storyboard that you would like to hook up.At first, this wasn't working for me because (at least on OS X El Capitan) Xcode 6 would try to resize the Assistant editor divider whenever I dragged from the circle plus icon.
Jun ’15
The file “VRIC” couldn’t be opened because you don’t have permission to view it.
Hi,I was developing away and testing my App on the simulator as well as on my iPhone 6. I received a phone call, so I disconnected my phone from the cable attaced to the Mac, and when I was done I plugged it back in - when I do that iTunes starts syncing - I quit iTunes and proceeded to build my app to test on my iPhone and since then I keep getting this error...** The file “VRIC” couldn’t be opened because you don’t have permission to view it. **I have tried the following suggestions offered on this site...http://www.codedisqus.com/0NJWWqUXXj/the-file-myappapp-couldnt-be-opened-because-you-dont-have-permission-to-view-it-when-running-app-in-xcode-6-beta-4.htmlStill I cannot get my App to load on my iPhone, it works fine in the simulator.Can someone please help!Thanx in advance.
0
0
357
Jun ’15
Uploading App video preview for iTunes Connect
So I read I can use QuickTime to make a preview video for my app and upload to iTunes Connect but I need to have OSX 10.10.3 Yosemite. I currently use OSX 10.9.5 and am fearful of upgrading to 10.10.3 Yosemite because i'm afraid if I do so all my Xcode Projects files on my desktop will get deleted. What can I use to make a video of my app for preview besides OSX Yosemite's QuickTimes feature in simulator? Is there another feature i'm not noticing in Xcode 6.1's simulators that I can use for recording and editing a short video?
1
0
287
Jun ’15
Reply to How to pass data from Customer App to Admin App
I think the standard approach is a custom URL scheme if your data is short enough to fit in a URL (not sure what limits, if any, there are on the length). There's also the keychain with the same sort of limit - it's meant for small bits of info like passwords.I believe as of iOS 8 you can now have a shared app container so apps from the same developer can share data. One app could write a file and the other app could read it. That, in combination with the URL scheme, may be a more flexible approach.
Topic: Programming Languages SubTopic: General Tags:
Jun ’15