1. Archana Singh1's Avatar
    i have created a function in framework please let me know how to access it in app delegate.

    below is the framework function

    public func deviceregistration()

    {
    let post: String = "appid=\(appid)=&deviceid\(deviceid)&ApiID=\(ApiID )&ApiKey=\(ApiKey)&ApiSecret=\(ApiSecret)&os=\("io s")Id=\(oNSUUID.UUIDString)"

    }

    below is the app delegate where i want call this function

    func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData)

    {

    // call post for append post value in below

    let postData:NSData = post.dataUsingEncoding(NSASCIIStringEncoding)!
    let postLength:NSString = String(postData.length)

    }
    08-10-2016 07:15 AM

Similar Threads

  1. Why does my Snapchat folder in photos say downloading?
    By iMore Question in forum Ask a Question
    Replies: 1
    Last Post: 08-10-2016, 06:09 AM
  2. Does it really take forever for an app update to be approved?
    By iMore Question in forum Ask a Question
    Replies: 4
    Last Post: 08-10-2016, 04:43 AM
  3. Do you have this page in espanol?
    By iMore Question in forum Ask a Question
    Replies: 2
    Last Post: 08-09-2016, 11:04 PM
  4. How can I get you guys to do a review of my iOS app?
    By iMore Question in forum Ask a Question
    Replies: 4
    Last Post: 08-09-2016, 07:13 PM
  5. How to move, force quit, and delete apps with the Siri Remote on Apple TV
    By iMore.com in forum iMore.com News Discussion
    Replies: 0
    Last Post: 08-09-2016, 04:30 PM
LINK TO POST COPIED TO CLIPBOARD